注意
请注意,本文尚未完成!您可以通过编辑此文档页面来提供帮助。
别名
创建自己的别名
using CustomType = int;
使用示例
CustomType a = 1;
有用的别名
类型 | 等效(通常) | 描述 |
---|---|---|
int8_t | char | 8位整数 |
int16_t | short | 16位整数 |
int32_t | int | 32位整数 |
int64_t | long long | 64位整数 |
uint8_t | unsigned char | 8位无符号整数 |
uint16_t | unsigned short | 16位无符号整数 |
uint32_t | unsigned int | 32位无符号整数 |
uint64_t | unsigned long long | 64位无符号整数 |