Skip to Main Content
Practical C++
book

Practical C++

by Rob McGregor
August 1999
Beginner to intermediate content levelBeginner to intermediate
912 pages
15h 44m
English
Que
Content preview from Practical C++

Chapter 12. Understanding the Preprocessor

<feature>
  • Understand the phases of preprocessing

  • See why custom macros can simplify your source code

  • Learn to use the preprocessor operators and directives

  • See how conditional compilation can make your code more versatile

  • Understand the problem of international keyboard character sets

  • Learn to use predefined macros

</feature>

Introducing the Preprocessor

The preprocessor is a program that processes and manipulates the text of a source file, usually invoked by the compiler as the first step of the compilation process. The process of preprocessing is called translation, and the preprocessor’s job is to break up source file text into tokens. These tokens are used to locate and follow any preprocessor directives ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C++ Programming, 2nd Edition

Practical C++ Programming, 2nd Edition

Steve Oualline
C++ Cookbook

C++ Cookbook

D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell

Publisher Resources

ISBN: 0789721449Purchase book