[1] Avoid nontrivial pointer arithmetic
[2] Take care not to write beyond the bounds of an arrary;
[3] Use o rather than NULL
[4] Use vector and valarrary rather than bulit-in (C-style) arrarys
[5] Use string rather than zero-terminated arrarys of char;
[6] Minimize use of plain reference arguments
[7] Avoid void* except in low-level code
[8] Avoid nontrivial liternal(magic numbers) in code.Instead,define and use symbolic