The Symbian programming specification follows the traditional C ++ coding specification to a large extent. In addition, the Symbian ApplicationProgramThere are also some program specifications:
1. The first letter of the class name and function name must be an uppercase letter, such as the csimple class and printf () function.
2. The first letter of the variable of the class member must be lower case I, for example, the common variable tint ival (tint is the variable type ).
3. In the form of a function, the first letter of the parameter name must be a, for example, the aint and avalue variables.
4. The macro name must start with an underscore, and the words in the name must be separated by an underscore. For example, macro _ uheap_mark and _ marker. In addition, each letter of the macro name should be uppercase letters.
5. The first letter of a constant must be an uppercase letter K, such as kformat and kfilename.
6. The enumeration name starts with T, for example, thelloworld+appexit.
7. The function name ends with an uppercase letter (L), indicating that an exception may occur during function execution, such as the doexamplel () function.
Http://www.j2mehome.com/