• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Use of long long's in a Cocoa program?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of long long's in a Cocoa program?


  • Subject: Re: Use of long long's in a Cocoa program?
  • From: Robert Tillyard <email@hidden>
  • Date: Fri, 12 Nov 2004 13:48:09 +0000

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
  • Follow-Ups:
    • Re: Use of long long's in a Cocoa program?
      • From: Mai Bui <email@hidden>
References: 
 >Use of long long's in a Cocoa program? (From: George Lawrence Storm <email@hidden>)

  • Prev by Date: Re: Use of long long's in a Cocoa program?
  • Next by Date: Re: NSMatrix problem
  • Previous by thread: Re: Use of long long's in a Cocoa program?
  • Next by thread: Re: Use of long long's in a Cocoa program?
  • Index(es):
    • Date
    • Thread