Question

How do I do to handles some big positive integers (like 9,999,999,999) on Visual C++ 2008 on a 32-bit PC.
Please give an example on declaring, printf, scanf of these big positive integers.
Please consider using 9,999,999,999 in your example.

Was it helpful?

Solution

unsigned long long foo;
scanf("%llu", &foo);
printf("%llu", foo);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top