Home

* Ian Collins:
> Alf P. Steinbach wrote:
>> * James Kanze:
>>> On Aug 7, 7:10 am, "Alf P. Steinbach" <al...@start.no> wrote:
>>>
>>>> No, "long long" i's not yet part of the standard,
>>> That depends which standard: it's in C99, in the current draft
>>> C++ standard, and in every current C++ compiler I know of.
>>> Unless you explicitly have to deal with older compilers (e.g.
>>> VC++ 6.0), you can pretty much count on it.
>> The standard for this group is the current C++ standard.
>>
>> There's no "long long" in the standard.
>>
> But it has become ubiquitous and it is easy to test for.
>

T:\> cat <bah.cpp
int main() { long long bah; }

T:\> gnuc --version
g++ (GCC) 3.4.4 (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


T:\> gnuc bah.cpp
bah.cpp: In function `int main()':
bah.cpp:1: error: ISO C++ does not support `long long'
bah.cpp:1: warning: unused variable 'bah'

T:\> _

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

previous
next

Re: Please help with testing & improving a StringValue class
Re: Requesting critique of a C unit test environment
Re: vector<T> to T[]
C++ template metaprogramming in C#?
Re: Spaces from string specifier
Szkoły policealne bhp w warszawie
tuniki
redfishblufishcaptiva.com.pl
piła spalinowa
kable komputerowe