Re: Use of long long's in a Cocoa program?
Re: Use of long long's in a Cocoa program?
- Subject: Re: Use of long long's in a Cocoa program?
- From: Mai Bui <email@hidden>
- Date: Fri, 12 Nov 2004 07:40:36 -0800
You must use 'LL' to the end of number.
How can I print out? Use %l or %d?
Mai.
On Nov 12, 2004, at 5:48 AM, Robert Tillyard wrote:
Just a guess without trying but should you append an 'L' to the
number? so that it becomes
109951162776L
Regards, Rob.
On 12 Nov 2004, at 1:23 pm, George Lawrence Storm wrote:
When I write the following test line:
long long int testLongLong = 1099511627776;
An attempt to compile generates the warning:
"integer constant is too large for "long" type"
What do I need to do to generate a "long long int" variable?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden