O'Reilly logo

Sams Teach Yourself C++ in 24 Hours, Third Edition by Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required