Every include file shall contain a mechanism that prevents multiple inclusions of the file.
Header files shall be self sufficient.
Memory Allocation 4.10
Malloc, realloc and free shall not be used.
Empty brackets ("[]") shall be provided for delete when deallocating arrays.
Naming Convention 4.11
Legal identifier name values shall be those specified by the ANSI C++ standard.
本文关键:[FW]C Coding Standards Quick Reference
相关方案
- 又一个自动下载病毒的政府网站(…
- 使用WML和ASP编写动态手机…
- 面向对象软件构造(第2版)-第…
- CLDC1.1的新特性…
- TCP/IP在网络中的高效配置…
- J2ME平台手机游戏移植的体会…
- 介绍J2ME的几个重要概念…
- 从一个例子看WML文档规则…
- 基于MIDP实现Resourc…
- 每日构建(daily buil…
- 一个象棋手机游戏的源代码…
- Exchange 2000 S…
- [全程建模]三个问题的对话之一…
- 使用ADS1.2进行嵌入式软件…
- Installing Bugz…
- 不可多得系列网址--DICOM…
- 使用MIDP2.0开发游戏(1…
- Class文件详解 (2)…
- Apache内存池内幕(2)…
- Joel Spolsky给计算…