A clear and student-friendly introduction to C++ Savitch's clear, concise style is a hallmark feature of the text, receiving praise from students and instructors alike. A flexible coverage of objects means that instructors can easily adapt the order in which chapters and sections are covered in their course without losing continuity. A dependency chart in the preface offers a quick reference for instructors who wish to rearrange coverage. Advanced topic coverage includes discussions of C++ templates, inheritance (including virtual functions), and exception handling, plus a full chapter on the Standard Template Library (STL). This edition is fully compatible with compilers that meet the latest ANSI/ISO C++ standard. At the time of this writing the latest standard is C++14. REVISED! Corrections of errata and edits for clarity have been made, such as indicating preferred methods for file I/O, naming of terminology, a better definition of encapsulation, and removing material that is now standard in C++11 and higher. NEW! camelCase notation, rather than underscore_case, is used consistently throughout the text.
Tried-and-True Pedagogy Concise, easy-to-understand programming examples, projects, exercises, tips, and pitfalls benefit student understanding. Boxed sections summarise major points and are spread throughout each chapter. Numerous Self-Test Exercises are contained at strategic points in each chapter. Complete answers for all the Self-Test Exercises are given at the end of each chapter. End-of-chapter programs are split into Practice Programs and Programming Projects. Practice Programs require a direct application of concepts presented in the chapter and solutions are usually short. Practice Programs are appropriate for laboratory exercises. Programming Projects require additional problem solving and solutions are generally longer than Practice Programs.
Programming Projects are appropriate for homework problems. NEW! Ten new Programming Projects have been added.