Sams Teach Yourself C++ in 21 Days

(singke) #1

DAY 21


WEEK 3

What’s Next


Congratulations! You are nearly done with a full three-week intensive introduc-
tion to C++. By now, you should have a solid understanding of C++, but in
modern programming there is always more to learn. This final day’s lesson fills
in some missing details and then sets the course for continued study.
Most of what you write in your source code files is C++. This is interpreted
by the compiler and turned into your program. Before the compiler runs, how-
ever, the preprocessor runs, and this provides an opportunity for conditional
compilation.
Today, you will learn


  • What conditional compilation is and how to manage it

  • How to write macros using the preprocessor

  • How to use the preprocessor in finding bugs

  • How to manipulate individual bits and use them as flags

  • What the next steps are in learning to use C++ effectively

Free download pdf