The preprocessor directive #define shall not be used to obtain more efficient code; instead, inline functions shall be used.
One line accessor and modifier functions (e.g. getValue, setValue) shall be inline.
General Coding Practices 4.8
All source code shall use the POPI classification Motorola Confidential Proprietary.
Inline assembly shall not be used.
Include Files 4.9
Only one class shall be declared per header file.
本文关键:[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给计算…