Lesson 14. An Introduction to Macros and Templates
By now, you should have a solid understanding of basic C++ syntax. Programs written in C++ should be understandable and you are poised to learn language features that help you write applications efficiently.
In this lesson, you learn
An introduction to the preprocessor
The #define
keyword and macros
An introduction to templates
How to write templates functions and classes
The difference between ...
Get Sams Teach Yourself C++ in One Hour a Day, Eighth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.