C++ Primer Plus

Front Cover
Pearson Education, Nov 15, 2004 - 1224 pages

If you are new to C++ programming, C++ Primer Plus, Fifth Edition is a friendly and easy-to-use self-study guide. You will cover the latest and most useful language enhancements, the Standard Template Library and ways to streamline object-oriented programming with C++. This guide also illustrates how to handle input and output, make programs perform repetitive tasks, manipulate data, hide information, use functions and build flexible, easily modifiable programs. With the help of this book, you will:

  • Learn C++ programming from the ground up.
  • Learn through real-world, hands-on examples.
  • Experiment with concepts, including classes, inheritance, templates and exceptions.
  • Reinforce knowledge gained through end-of-chapter review questions and practice programming exercises.

C++ Primer Plus, Fifth Edition makes learning and using important object-oriented programming concepts understandable. Choose this classic to learn the fundamentals and more of C++ programming.

 

Contents

Introduction
Getting Started Chapter 2 Setting Out to C++ Chapter 3 Dealing with Data
Compound Types Chapter 5 Loops and Relational Expressions Chapter 6 Branching Statements and Logical Operators
C++s Programming Modules Chapter 8 Adventures in Functions Chapter 9 Memory Models and Namespaces Chapter 10 Objects and Classes
Working with Classes Chapter 12 Classes and Dynamic Memory Allocation Chapter 13 Class Inheritance
Reusing Code in C++ Chapter 15 Friends Exceptions and More Chapter 16 The string Class and the Standard Template Library
Input Output and Files
Dedication
Introducing Friends
Programming Exercises
Classes
Allocation and Friends
Class Design Review
Summary
Private Inheritance
Multiple Inheritance

Summary
C++ Statements
More C++ Statements
Dealing with Data
Index
Compound Types
Input Output and Files
Adventures in Functions
Introducing Structures
Loops and Relational Expressions
Relational Expressions
The while Loop
The do while Loop
Nested Loops and TwoDimensional Arrays
Summary
Simple File InputOutput
Functions and Structures
Default Arguments
Function Templates
The Placement new Operator
Objects and Classes
Reusing Code in
Memory Models and Namespaces
Friends Exceptions and More
RTTI
The string Class and the Standard Template Library
The auto_ptr Class
The
Generic Programming
Function Objects aka Functors
Algorithms
Other Libraries
File Input and Output
Appendix A Number Bases
Appendix B C++ Reserved Words
The ASCII Character
Operator Precedence
Appendix E Other Operators
Appendix F The string Template Class
Output and Input
Appendix G The STL Methods and Functions
Appendix H Selected Readings and Internet Resources
Appendix J Answers to the Review Questions
Index
Copyright

Other editions - View all

Common terms and phrases

About the author (2004)

Stephen Prata teaches 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. Stephen has authored or coauthored more than a dozen books for The Waite Group. He wrote The Waite Group's New C Primer Plus, which received the Computer Press Association's 1990 Best How-to Computer Book Award, and The Waite Group's C++ Primer Plus, nominated for the Computer Press Association's Best How-to Computer Book Award in 1991.

Bibliographic information