The C Preprocessor

作者: Peter A. Darnell , Philip E. Margolis

DOI: 10.1007/978-1-4684-0383-1_10

关键词:

摘要: You can think of the C preprocessor as a separate program that runs before compiler, with its own simple, line-oriented grammar and syntax. In previous chapters, we introduced two directives—the #define command for naming constant #include including additional source files. This chapter discusses both these directives in greater detail also describes other have not been mentioned yet. Briefly, gives you following capabilities: Macro processing. Inclusion files. “Conditional compilation,” which enables to conditionally compile sections contingent on value an arithmetic expression.

参考文章(0)