Record: C++命名规则
来源:互联网 发布:在线二次元av淘宝 编辑:程序博客网 时间:2024/06/05 11:34
/*命名规则:**class:每个单词的首字母大写;** 'C'+adj.+n.;****func:每个单词的首字母大写;** base: v.+n.;** call&event: 'On'+base;** visual: 'Do'+base;** protect: '_'+~;** private:: '__'+~;****variable:每个单词的首字母大写;** base:作用域前缀+类型前缀+~ adj.+n.** 作用域前缀:** none -- local; m_ -- member; sm_ -- static member;** s_ -- static; g_ -- global; sg_ -- static global;** gg_ -- global global(processing share)////////////** 类型前缀:** n -- number; e -- enumeration; c -- char; b -- bool;** f -- float; p -- pointer; pfn -- point of function; ** g -- grid(数组); i -- intance(类实例)//////////////****const:类型前缀+全大写字母****枚举、联合、typedef:全大写字母组成,单词间通过下划线****宏、枚举值:全大写字母组成,单词间通过下划线*/
阅读全文
0 0
- Record: C++命名规则
- C语言命名规则
- C/C++命名规则
- C/C++命名规则
- c语言命名规则
- C/C++命名规则
- C/C++命名规则
- C++(-)命名规则
- C语言命名规则
- C/C++ 命名规则
- C语言命名规则
- C/C++命名规则
- C/C++命名规则
- c语言命名规则
- C++Notes01_C++命名规则
- C语言命名规则
- C语言命名规则
- c语言命名规则
- jade入门
- 计蒜客 网页跳转
- 使用flex图文混排
- hiho-hihoCoder挑战赛29-A-序列的值
- 约瑟夫环问题
- Record: C++命名规则
- 开个新博客 准备搞 2d,3d游戏了 delphi 的 顺便写一下教程,防止以后忘记
- http://write.blog.csdn.net/postedit
- http://write.blog.csdn.net/postedit
- TensorFlow Note 1 : Getting Started With TensorFlow
- VMware Ubuntu安装详细过程
- java 常用三大集合类
- 【面试】京东高级Java工程师面试小结
- 数据库事务四大特性