当前位置: 移动技术网 > IT编程>开发语言>C/C++ > C++变量命名知识实例讲解

C++变量命名知识实例讲解

2018年09月12日  | 移动技术网IT编程  | 我要评论

xp瘦身,春节手抄报图片大全简单又漂亮,演讲与口才

1:变量命名

int aitemp[256];

int *pitemp[256];

2: 函数命名规则

动词+名词;

startfacedetection();

3: 类名的命名规则

class cfacedetection

{ }

cfacedetection ifacedetection;

4:结构体

typedef struct tagfacedetect{

int inum;

char cpath[256];

}facedetectst;

facedetectst stfacedetect;

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网