Top "Unsigned" questions

An unsigned variable is a variable that can only represent non-negative numbers.

Unsigned short in Java

How can I declare an unsigned short value in Java?

java types unsigned short
Signed/unsigned comparisons

I'm trying to understand why the following code doesn't issue a warning at the indicated place. //from limits.h #define …

c++ visual-studio-2005 comparison unsigned signed
convert unsigned char* to std::string

I am little poor in typecasting. I have a string in xmlChar* (which is unsigned char*), I want to convert …

c++ casting unsigned tizen
c++ uint , unsigned int , int

Hi I have a program that deals alot with vectors and indexes of the elements of these vectors, and I …

c++ indexing int iterator unsigned
Why doesn't C have unsigned floats?

I know, the question seems to be strange. Programmers sometimes think too much. Please read on... In C I use …

c types floating-point format unsigned
unsigned char to int in C++

I have a variable unsigned char that contains a value, 40 for example. I want a int variable to get that …

c++ casting unsigned
What happens if I assign a negative value to an unsigned variable?

I was curious to know what would happen if I assign a negative value to an unsigned variable. The code …

c++ type-conversion integer unsigned signed
How do you determine the length of an unsigned char*?

How do you determine the length of an unsigned char*?

c++ c char unsigned
Proper Way To Initialize Unsigned Char*

What is the proper way to initialize unsigned char*? I am currently doing this: unsigned char* tempBuffer; tempBuffer = ""; Or should …

c++ c char unsigned
Difference between size_t and unsigned int?

I am so confused about size_t. I have searched on the internet and everywhere mentioned that size_t is …

c types unsigned