1. Anatomy of Portable C++ Software

Learning Objectives

By the end of this chapter, you will be able to:

  • Establish the code-build-test process
  • Describe the various stages of compilation
  • Decipher complicated C++ type systems
  • Configure projects with unit tests
  • Convert source code to object code
  • Write readable code and debug it

In this chapter, we will learn to establish the code-build-test model that will be used throughout the book, write beautiful code, and perform unit tests.

Introduction

C++ is one of the oldest and most popular languages that you can use to write efficient code. It is both "close to the metal," like C, and has advanced object-oriented features, like Java. Being an efficient low-level language makes C++ the language ...

Get Advanced C++ 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.