📄 insttypes.h
字号:
//instTypes.h
#ifndef INST_TYPES_H
#define INST_TYPES_H
//这不是一个可跨平台的头文件,本头文件是为了其他文件的跨平台。
namespace inst
{
//为了输入方便,基本数据类型只是首字母大写
//但inst命名空间中其他的typedef一律全部大写!
//在inst命名空间里,基本数据类型一律用这些typedef。
//这些定义在win32下是完全可用的,
//但是其他平台则应该使用其他头文件
typedef char Byte;
typedef int Int;
typedef short Int16;
typedef long Int32;
typedef bool Bool;
typedef float Float;
typedef double Double;
typedef unsigned char UByte;
typedef unsigned int UInt;
typedef unsigned short UInt16;
typedef unsigned long UInt32;
typedef char Char;
#if _MSC_VER >= 1400
typedef wchar_t WChar;
#else
typedef UInt16 WChar;
#endif
const Bool True = true;
const Bool False = false;
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -