typedef char C8;
typedef unsigned char U8;
typedef short S16;
typedef unsigned short U16;
typedef int S32;
typedef unsigned int U32;
typedef long long S64;
typedef unsigned long long U64;
typedef const C8 CC8;
typedef const U8 CU8;
typedef const S16 CS16;
typedef const U16 CU16;
typedef const S32 CS32;
typedef const U32 CU32;
typedef const S64 CS64;
typedef const U64 CU64;
typedef C8* C8P;
typedef U8* U8P;
typedef S16* S16P;
typedef U16* U16P;
typedef S32* S32P;
typedef U32* U32P;
typedef S64* S64P;
typedef U64* U64P;
typedef CC8* CC8P;
typedef CU8* CU8P;
typedef CS16* CS16P;
typedef CU16* CU16P;
typedef CS32* CS32P;
typedef CU32* CU32P;
typedef CS64* CS64P;
typedef CU64* CU64P;
typedef C8& C8R;
typedef U8& U8R;
typedef S16& S16R;
typedef U16& U16R;
typedef S32& S32R;
typedef U32& U32R;
typedef S64& S64R;
typedef U64& U64R;
typedef CC8& CC8R;
typedef CU8& CU8R;
typedef CS16& CS16R;
typedef CU16& CU16R;
C++下超强内置类型定义
最新推荐文章于 2023-11-07 22:59:13 发布
本文介绍了在C++中如何使用typedef为基本内置类型创建别名,包括整型、无符号整型、字符型及其const和指针引用版本,便于代码阅读和维护。
摘要由CSDN通过智能技术生成