原文鏈接: http://blog.csdn.net/lmyclever/article/details/6744906
- 有符號型64位整數,值域為:-9223372036854775808 .. 9223372036854775807。
語言 GNU C/C++ Pascal Visual C/C++ 類型名稱 __int64
or
long longint64 __int64 輸入方法 scanf("%I64d", &x);
or
cin >> x;read(x); scanf("%I64d", &x); 輸出方法 printf("%I64d", x);
cout << x;write(x); printf("%I64d", x); - 無符號型64位整數,值域為:0 .. 18446744073709551615。
語言 GNU C/C++ Pascal Visual C/C++ 類型名稱 unsigned __int64
or
unsigned long longqword unsigned __int64 輸入方法 scanf("%I64u", &x);
or
cin >> x;read(x); scanf("%I64u", &x); 輸出方法 printf("%I64u", x);
or
cout << x;write(x); printf("%I64u", x);