Hour 2. The Parts of a C++ Program

Before we dive into the details of C++, classes, variables, and so forth, let's take an hour to get a sense of how a program fits together. In this hour you learn:

  • Why C++ is the right choice

  • The parts of a C++ program

  • How the parts work together

  • What a function is and what it does

Get Sams Teach Yourself C++ in 24 Hours, Third 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.