节点文献

C语言中编译预处理命令的解读与应用

C Language Compilation Command Interpretation and Application of Pretreatment

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王秀芳孙承爱路燕

【Author】 WANG Xiufang,SUN Cheng’ai LU Yan(College of Info.Science and Engg.SUST,Qingdao 266510)

【机构】 山东科技大学信息科学与工程学院

【摘要】 编译预处理是由预处理程序模块负责完成,在编译前对源程序进行的预加工处理,是C语言的一个重要特点。对C语言中编译预处理的3条命令define、include、ifdef进行了详细分析,用实例对其特殊功能和用法做了详细的阐述,对C语言编译预处理命令的分析对C语言教学和学习都有帮助作用。

【Abstract】 Compiler preprocessor module by pretreatment for completion before the source for compiling the pre-processing is an important feature of the C language.This article on the C language compilation command of the three pretreatment define,include,ifdef analyzed in detail,with examples of its use of special features and a detailed exposition of this paper,C compiler preprocessor analysis of the C Language Teaching and learning are helpful.

【关键词】 编译预处理#define#include#ifdef
【Key words】 compiled pretreatment# define# include# ifdef
【基金】 山东科技大学群星计划项目(qx0902081)资助
  • 【文献出处】 电脑编程技巧与维护 ,Computer Programming Skills & Maintenance , 编辑部邮箱 ,2010年22期
  • 【分类号】TP312.1
  • 【被引频次】1
  • 【下载频次】158
节点文献中: