📄 int64.cpp
字号:
// Int64.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include "CommDefine.h"
int main(int argc, char* argv[])
{
ULONG64 uI64=INT64C(0xFFFFFFFFFFFF23F);
LONG64 I64=INT64C(0xFFFFFFFFF9);
uI64 += 231;
std::cout << "UI64 is " << uI64 <<" and size is " <<sizeof(uI64) <<std::endl;
std::cout << "I64 is " <<" and size is " <<sizeof(I64) <<std::endl;
#ifdef WIN32
printf("uI64 value is %I64u size is %d I64 is %I64d and size is %d \n",uI64,sizeof(uI64),I64,sizeof(I64));
#else
printf("uI64 value is %llu size is %d I64 is %lld and size is %d \n",uI64,sizeof(uI64),I64,sizeof(I64));
#endif
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -