匈牙利命名法:
数据类型 前缀 案例
byte by byFlag
char ch chNowunsigned char uchuchNow
signed char schschNow
int i iNumber
unsigned int uiuiNumber
signed int si siNumber
short int sh shiNumber
unsigned short int ush ushiNumber
总结经验:凡是有h的都是short有关
signed short int ssh sshNumber
long int l lSize
unsigned long int ul ulSize
signed long int sl slSize
float f fFloat
double d dDouble
long double ld ldDouble
enum enum enumPagingCauseType
struct struct structRAB_ID_Type
union union unionRABs_List
指针 p pPointer
char * str strName
仅仅是变量命名的一部分,更多的命名请参照更全的说明!