C++ How to Program: An Objects-Natural Approach, 11th edition

Published by Pearson (December 6, 2023) © 2024

  • Paul Deitel Deitel & Associates, Inc.
  • Harvey M. Deitel Deitel & Associates, Inc.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

Title overview

C++ How to Program: An Objects-Natural Approach is a code-intensive, modular introduction to C++ programming. The Deitel live-code approach presents concepts using full working programs rather than code snippets so that you can immediately start to run programs as you read. Interesting, entertaining and challenging examples, exercises and projects help you see how what you're learning applies to real-world scenarios.

The 11th Edition presents new features of C++ 20 and even more hands-on application opportunities. Hundreds of new self-checks let you test your code and understanding of key concepts. New case studies and exercises focus on security, data science, ethics and more.

Table of contents

PART 1: C++ 20 Fundamentals Quickstart and Procedural Programming

  1. Intro: Test-Driving Popular, Free C++ Software
  2. Intro to C++ 20 Programming
  3. Control Statements: Part 1
  4. Control Statements: Part 2
  5. Functions and an Intro to Function Templates

PART 2: Containers, C++ 20 Ranges, Pointers, Strings and Files

  1. arrays, vectors, Ranges and Functional-Style Programming
  2. (Downplaying) Pointers in Modern C++
  3. strings, string_views, Text files, CSV Files and Regex

PART 3: Modern Object-Oriented Programming and Exceptions

  1. Custom Classes
  2. OOP: Inheritance and Runtime Polymorphism
  3. Operator Overloading, Copy/Move Semantics, Smart Pointers and RAII
  4. Exceptions and a Look Forward to Contracts

PART 4: Generic Programming: Templates, Concepts and Template Metaprogramming

  1. Standard Library Containers and Iterators
  2. Standard Library Algorithms and C++ 20 Ranges and Views
  3. Templates, C++ 20 Concepts and Metaprogramming

PART 5: Advanced Topics: Modules, Parallel Algorithms, Concurrency and Coroutines

  1. C++ 20 Modules: Large-Scale Development
  2. Parallel Algorithms and Concurrency: A High-Level View
  3. C++ 20 Coroutines

PART 6: Miscellaneous Topics

  1. Stream I/O and C++ 20 Text Formatting
  2. Other Topics and a Look Toward C++ 23 and C++ 26
  3. Computer Science Thinking: Searching, Sorting and Big O

Need help?Get in touch