Date: Thu, 13 Nov 1997 22:38:03 -0800 (PST) Message-Id: <199711140638.WAA20741@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: help long long Precedence: bulk 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