C++ Primer Plus: C++ Primer Plus _p6

Front Cover
Addison-Wesley Professional, Oct 18, 2011 - Computers - 1200 pages

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
 

What people are saying - Write a review

User Review - Flag as inappropriate

Damn this book is good!
I must say sometimes towards the ends of chapters things can get really dense. I know in the beginning of the book they go over some very abstract pointer tricks that don't
really help out with the practice problems and would make more sense put later in the book, but those complex examples can help get you ready for the later chapters which I would say actually did. I'm not done with the book, more like halfway done, and I feel as if my understanding of memory allocation and pointers is (although elementary) very good in terms of what I need to know for any basic programs the university could throw at me.
The practice exercises are also very helpful. I tend to do at least a few of them every chapter to help with conceptual understanding, and every time I finish another exercise I can tell that my grounding in the more abstract concepts of c++ programming is solidifying. Compared to java this language is a lot more nit-picky but honestly the way this book is written makes it seem like a walk in the park. I recommend this book to anyone looking to learn the c++ language coming from a short history of computer programming, because this book would be very challenging to someone with no prior programming experience.
Once I trudge on through the rest of this book I will update my review.
 

Contents

Introduction
1
1 Getting Started with C++
9
2 Setting Out to C++
27
3 Dealing with Data
65
4 Compound Types
115
5 Loops and Relational Expressions
195
6 Branching Statements and Logical Operators
253
C++s Programming Modules
305
11 Working with Classes
563
12 Classes and Dynamic Memory Allocation
627
13 Class Inheritance
707
14 Reusing Code in C++
785
15 Friends Exceptions and More
877
16 The string Class and the Standard Template Library
951
17 Input Output and Files
1061
18 Visiting with the New C++ Standard
1153

8 Adventures in Functions
379
9 Memory Models and Namespaces
447
10 Objects and Classes
505
Appendixes
1215
Index
1367
Copyright

Other editions - View all

Common terms and phrases

About the author (2011)

Stephen Prata taught astronomy, physics, and computer science at the College of Marin in Kentfield, California. He received his B.S. from the California Institute of Technology and his Ph.D. from the University of California, Berkeley. He has authored or coauthored more than a dozen books on programming topics including New C Primer Plus, which received the Computer Press Association’s 1990 Best How-to Computer Book Award, and C++ Primer Plus, nominated for the Computer Press Association’s Best How-to Computer Book Award in 1991.

Bibliographic information