Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 32 位 PC 上的 Visual C++ 2008 上处理一些大的正整数(如 9,999,999,999)。 请举例说明这些大正整数的声明、printf、scanf。 请考虑在您的示例中使用 9,999,999,999。
unsigned long long foo; scanf("%llu", &foo); printf("%llu", foo);