For the C++ introductory programming course, problem solving with C++ continues to be the most widely used textbook by students and instructors in the introduction to programming and C++ language course. Through each edition, hundreds and thousands of students have valued Walt Savitch's approach to programming, which emphasizes active reading through the use of well-placed examples and self-test examples. Created for the beginner, this book focuses on cultivating strong problem-solving and programming techniques while introducing students to the C++ programming language.
Features
This edition has been updated with a new introduction to C++11 in the context of C++98. Examples of C++11 content include new integer types, the auto type, raw string literals, strong enumerations, nullptr, ranged for loop, conversion between strings and integers, member initializers and constructor delegation.
Additional material on sorting, secure programming (e.g. Overflow, array out of bounds) and inheritance is included in this edition.
Twenty-one new practice programs and ten new programming projects are included in this edition.
Table of Contents
Chapter 1 Introduction to Computers and C++ Programming
Chapter 2 C++ Basics
Chapter 3 more flow of control
Chapter 4 Procedural abstraction and functions that return a value
Chapter 5 Functions for all subtasks
Chapter 6 I/O Streams as an introduction to objects and classes
Chapter 7 Arrays
Chapter 8 Strings and vectors
Chapter 9 Pointers and dynamic arrays
Chapter 10 Defining classes
Chapter 11 Friends, overloaded operators and arrays in classes
Chapter 12 Separate compilation and namespaces
Chapter 13 Pointers and linked lists
Chapter 14 Recursion
Chapter 15 Inheritance
Chapter 16 Exception handling
Chapter 17 Templates
Chapter 18 Standard template library
Appendices
1. C++ Keywords
2. Precedence of operators
3. The ASCII character set
4. Some libr