E Preprocessor

Objectives

In this appendix you’ll learn:

  • To use #include for developing large programs.

  • To use #define to create macros and macros with arguments.

  • To understand conditional compilation.

  • To display error messages during conditional compilation.

  • To use assertions to test if the values of expressions are correct.

Get C++ How to Program, 10/e now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.