本文介绍了在嵌入式程序设计中几种提高C/C++代码效率的方法,通过对例子的分析,探讨了影响程序效率的原因。 关键词:c语言,c++,嵌入式,优化 Abstrcat: In this paper, author introduced some methods to increase the efficiency of C/C++ code in embedded programming. Based on the analysis of the example, the reason that affects the efficiency of program was discussed. Key words: c language, c++,embedded,optimization