• 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: unsigned 16 digit integer data type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unsigned 16 digit integer data type?


  • Subject: Re: unsigned 16 digit integer data type?
  • From: Creed Erickson <email@hidden>
  • Date: Tue, 4 Nov 2003 13:18:20 -0800

On Tuesday, November 4, 2003, at 12:04 PM, Ben Dougall wrote:

which gives 287445 for some reason. how can you print a long long out? or have i set it up wrong?
also, out of interest, what's the maximum value of a unsigned long long?

#include <stdio.h>
int main(void)
{
unsigned long long n;
n = 1234567890987654LL;
printf("%lld\n", n);

return 0;
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: unsigned 16 digit integer data type? (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: Looking for XCode binding version of CurrencyConverter Sample Code
  • Next by Date: Re: unsigned 16 digit integer data type?
  • Previous by thread: Re: unsigned 16 digit integer data type?
  • Next by thread: Re: unsigned 16 digit integer data type?
  • Index(es):
    • Date
    • Thread