Skip to Content
C++ Primer Plus
book

C++ Primer Plus

by Stephen Prata
October 2011
Beginner to intermediate
1200 pages
35h 33m
English
Addison-Wesley Professional

Overview

C++ Primer Plus, Sixth Edition

New C++11 Coverage


C++ Primer Plus is a carefully crafted, complete tutorial on one of the most significant and widely used programming languages today. An accessible and easy-to-use self-study guide, this book is appropriate for both serious students of programming as well as developers already proficient in other languages.

The sixth edition of C++ Primer Plus has been updated and expanded to cover the latest developments in C++, including a detailed look at the new C++11 standard.

Author and educator Stephen Prata has created an introduction to C++ that is instructive, clear, and insightful. Fundamental programming concepts are explained along with details of the C++ language. Many short, practical examples illustrate just one or two concepts at a time, encouraging readers to master new topics by immediately putting them to use.

Review questions and programming exercises at the end of each chapter help readers zero in on the most critical information and digest the most difficult concepts.

In C++ Primer Plus, you’ll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning:

  • A new detailed chapter on the changes and additional capabilities introduced in the C++11 standard

  • Complete, integrated discussion of both basic C language and additional C++ features

  • Clear guidance about when and why to use a feature

  • Hands-on learning with concise and simple examples that develop your understanding a concept or two at a time

  • Hundreds of practical sample programs

  • Review questions and programming exercises at the end of each chapter to test your understanding

  • Coverage of generic C++ gives you the greatest possible flexibility

  • Teaches the ISO standard, including discussions of templates, the Standard Template Library, the string class, exceptions, RTTI, and namespaces

  • Table of Contents

    1: Getting Started with C++

    2: Setting Out to C++

    3: Dealing with Data

    4: Compound Types

    5: Loops and Relational Expressions

    6: Branching Statements and Logical Operators

    7: Functions: C++’s Programming Modules

    8: Adventures in Functions

    9: Memory Models and Namespaces

    10: Objects and Classes

    11: Working with Classes

    12: Classes and Dynamic Memory Allocation

    13: Class Inheritance

    14: Reusing Code in C++

    15: Friends, Exceptions, and More

    16: The string Class and the Standard Template Library

    17: Input, Output, and Files

    18: The New C++11 Standard

    A Number Bases

    B C++ Reserved Words

    C The ASCII Character Set

    D Operator Precedence

    E Other Operators

    F The stringTemplate Class

    G The Standard Template Library Methods and Functions

    H Selected Readings and Internet Resources

    I Converting to ISO Standard C++

    J Answers to Chapter Reviews

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    C++ Primer Plus, Fifth Edition

    C++ Primer Plus, Fifth Edition

    Stephen Prata
    Advanced C++

    Advanced C++

    Gazihan Alankus, Olena Lizina, Rakesh Mane, Vivek Nagarajan, Brian Price
    More Effective C++

    More Effective C++

    Scott Meyers

    Publisher Resources

    ISBN: 9780132781145Purchase book