Chapter 1. Getting Started with C++

<feature>
  • See how to write source code

  • Find out about compiling and linking source files

  • Get a peek at functions

  • Learn to use C-style and C++-style comments

  • Tour the basic input, output, and error streams

</feature>

Creating a C++ Program

Why would anyone choose C++ as a favorite programming language? Maybe you’ve heard the nasty rumors that C++ is obtuse, difficult to understand, and downright unintuitive and unfriendly—that it’s mainly used by rocket scientists and egghead geeks. That couldn’t be further from the truth! C++ is a rich, robust programming language with features that make it stand head and shoulders above most other languages.

Procedural Programming

A programming paradigm that uses sub-programs or sub-routines ...

Get Practical C++ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.