期刊文献+

C语言中宏、函数和Enum的优与劣

The Advantage and Disadvantage of Macro、Function and Enum in C Language
下载PDF
导出
摘要 从C语言中预处理、宏的基本概念和应用出发,对宏、函数和enum定义的枚举常量在程序设计时是否方便设计、维护和调试及效率进行了比较,归纳总结了这三者的优与劣,为程序设计的初学者扩展学习思路,加深理解预处理和宏及其应用,提高其编程能力,巩固基础知识、培养解决实际问题能力有参考意义。 This article starts with the pretreatment of C language,Definition and Application of Macro,and summarizes the advantages and disadvantage among them by comparing Macro,Function and Definition of Enum that if the program are easily designed,protected and debuged,also in the efficiency side.It is good for freshmen to extend the thought of studying,deepen the pretreatment and application of Macro,increase the ability of program designing,on purpose of consolidating the basic knowladge,resolving the pratical problems.
出处 《电脑编程技巧与维护》 2011年第2期18-19,共2页 Computer Programming Skills & Maintenance
关键词 C语言 预处理 C language pretreatment Macro
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部