C++
C++ is a statically typed, general-purpose programming language that supports procedural, object-oriented, generic, and low-level systems programming.
Modern C, Third Edition
C++ is a general-purpose compiled programming language with C compatibility and object-oriented, generic, and low-level programming features.
- How it is used
- Uses C to express imperative instructions that a computer can execute.
- How deep it goes
- Works through a small array-and-loop program, while deferring the details of compiler translation.
- Examples
- Uses an array-and-loop program to print values and squares, plus a flawed program with compiler diagnostics.
- What you can do after
- Build it from scratch: write, compile, run, and incrementally correct a small C program.
100 C++ Mistakes and How to Avoid Them
C++17 is the 2017 ISO standard revision of the C++ programming language.
- How it is used
- Frames C++ features and coding mistakes in the context of modern development and constrained legacy maintenance.
- How deep it goes
- Surveys C++11 feature benefits but leaves concurrency, error detection, and other enhancements undescribed.
- Examples
- Names auto, range-based for loops, nullptr, smart pointers, move semantics, and lambda expressions as modern features.
- What you can do after
- Apply modern C++ features where available and resolve problems when older compiler constraints prevent their use.
Read how 100 C++ Mistakes and How to Avoid Them explains C++ →
Also covered in
- .NET in Action, Second Edition
- Go in Practice, Second Edition
- LLMs in Production
- Systems Programming with ZigIn early access (MEAP)
Related concepts
- explicit memory managementuses · Explicit memory management is the practice of controlling the allocation and release of dynamically used memory through program code.
- gladused by · Glad is a configurable code generator and library that generates OpenGL loader source code for selected API versions and extensions.
- GLFWused by · GLFW is a cross-platform library for creating windows and OpenGL contexts and handling input and related application events.
- imperative programmingkind of · Imperative programming is a programming paradigm that expresses computation as ordered commands or instructions that direct execution or change state.
- NumPyused by · NumPy is an open-source Python library for numerical computing, providing multidimensional arrays and operations on them.
- pass by referencecontrasts with · Pass by reference is a parameter-passing mode in which a function receives access to the caller's argument through a shared reference rather than an independent copy.
Questions about C++
What is C++?
C++ is a statically typed, general-purpose programming language that supports procedural, object-oriented, generic, and low-level systems programming.
Which Manning books explain C++?
Modern C, Third Edition and 100 C++ Mistakes and How to Avoid Them.
What is the difference between C++ and pass by reference?
C++ is a statically typed, general-purpose programming language that supports procedural, object-oriented, generic, and low-level systems programming. Pass by reference is a parameter-passing mode in which a function receives access to the caller's argument through a shared reference rather than an independent copy.
What is C++ a kind of?
C++ is a kind of imperative programming. Imperative programming is a programming paradigm that expresses computation as ordered commands or instructions that direct execution or change state.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

