Quote:
Originally Posted by MrUmunhum
Now a new question:Are this numbers
'unsigned ling int' or 'unsigned long long int'?
And does that change with the machine ( 32 or 64 bit )?
|
You should have used a different thread for a new question, but I'll answer anyway.
long long is 64 bits in both 32bit-x86 and 64bit-x86 in both Linux and Windows.
long is 64 bits in 64bit-x86 on Linux, but is 32 bits on Windows in both 32bit-x86 and 64bit-x86 and 32 bits in Linux 32bit-x86.
For architectures other than x86, those sizes may be different.
The unsigned qualifier does not change the size: unsigned long is the same size as long. unsigned long long is the same size as long long.