delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/14/01:39:38

Date: Thu, 13 Nov 1997 22:38:03 -0800 (PST)
Message-Id: <199711140638.WAA20741@adit.ap.net>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: help long long

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019