Search found 1 match

by jchapman
Thu Jun 26, 2008 7:53 am
Forum: NetBurner Software
Topic: operating and printing with 64-bit numbers
Replies: 2
Views: 4546

Re: operating and printing with 64-bit numbers

I don't think that a single "L" will work since that is only 32 bits (also the size of int on 32-bit architectures).
To tell the compiler that your constant is 64 bits, you need to append two "L"s like so:

long long i = 5000000000LL;