Mail Archives: djgpp/1997/11/14/01:39:38
At 06:52 11/13/1997 +0000, John M. Aldrich wrote:
>Ashod wrote:
>>
>> what is long long ( is a 64 bit value ??)
>> Thanks in advance Ashod
>
>'long long' is a fully supported 64-bit (8-byte) integer type
>implemented in recent versions of GNU C and C++. It is supported in the
>following ways:
>
>'long long' , 'signed long long', and 'unsigned long long' are valid
>integer types.
>'Ld', 'Lu', 'Lx', etc., are used as format specifiers for the 'long
>long' type in *printf() and *scanf() statements.
>The 'LL' modifier can be attached to numeric constants to specify that
>they are of 'long long' type.
I'll just add: There are also `strtoll' and `strtoull' functions which do
what one might expect, by analogy with `strtol' and `strtod'.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -