Description
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.
Features Update to a computer industry classic; over 100,000 copies sold in previous editions.
Contains over 20 new programming exercises and newly improved examples.
Suitable as a tutorial or as the core text for C++ programming courses.
Teaches fundamentals of programming including principles of structured code and top-down design.
Includes a handy tear-out "Quick Reference Card".
Table of Contents
Introduction
1. Getting Started
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
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.