[rk_2014_1024] [C++_02] The C preprocessor Macros

Source: Internet
Author: User

1.The C Preprocessor Macros

The C preprocessor1Overview1.1Character Sets1.2Initial Processing1.3tokenization1.4The preprocessing language2Header Files2.1Include Syntax2.2Include Operation2.3Search Path2.4once-Only Headers2.5Alternatives to Wrapper #ifndef2.6Computed includes2.7Wrapper Headers2.8System Headers3Macros3.1object-Like Macros3.2function-Like Macros3.3Macro Arguments3.4stringification3.5concatenation3.6Variadic Macros3.7predefined Macros3.7.1Standard predefined Macros3.7.2Common Predefined Macros3.7.3system-Specific predefined Macros3.7.4C++Named Operators3.8undefining and redefining Macros3.9directives within Macro Arguments3.10Macro Pitfalls3.10.1misnesting3.10.2Operator Precedence Problems3.10.3swallowing the semicolon3.10.4duplication of Side Effects3.10.5self-referential Macros3.10.6Argument Prescan3.10.7NewlinesinchArguments4conditionals4.1Conditional Uses4.2Conditional Syntax4.2.1ifdef4.2.2If4.2.3Defined4.2.4Else4.2.5Elif4.3Deleted Code5Diagnostics6Line Control7pragmas8Other directives9Preprocessor OutputTenTraditional Mode10.1Traditional lexical analysis10.2Traditional Macros10.3Traditional Miscellany10.4Traditional Warnings Oneimplementation Details11.1implementation-defined Behavior11.2implementation Limits11.3Obsolete Features11.3.1assertions11.4Differences fromPrevious Versions Ainvocation -Environment Variablesgnu Free Documentation Licenseaddendum:how ThisLicense foryour documentsindex of directivesoption indexconcept Index
Table of Contents

5. This web site [tom-and-jerry posted on 2014-10-25 15:01]

Http://www.cnblogs.com/tom-and-jerry/p/4050131.html

[rk_2014_1024] [C++_02] The C preprocessor Macros

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.