Learning C++ A Hands-On Approach

MARKET DESCRIPTION:
Intended for a course on programming with the C++ programming language. This course assumes prior programming experience in another language (e.g. Introductory Programming/CS1 in C or Java) and is typically taught at the advanced undergraduate level.

BRIEF PRODUCT DESCRIPTION:
This hands-on introduction to C++ programming uses a learn-by-example method. With more than 400 examples that are short and easily understood at first viewing, the book serves as the student's classroom notes, tutorial, and reference. LEARNING C++ employs a careful and steady progression of skills and concepts, going beyond the level of detail of most C++ books. The first five chapters show the reader how to make a smooth transition from C to C++, including explanations of iostream methods, default function arguments, reference variables, and heap management. From here classes are introduced, leading into more advanced topics such as operator overloading, inheritance, polymorphism, templates, and runtime type identification.

NEW TO THIS EDITION:
Includes a new Chapter 18 on the string Class and the Standard Template Library.
Offers up-to-date coverage of the latest C++ language features in full conformance with he ANSI C++ Standard.
Offers expanded coverage of input/output functions and error handling techniques.

FEATURES:
Teaches C++ in a hands-on, learn-by-example manner. This book was designed for and proven in the classroom.
Includes Caution icons that point out potential programming errors.
Incorporates Tip icons that alert students to important features of C++.
Contains and discusses more than 400 example programs.

Table of Contents

  1. TRANSITIONING FROM C TO C++.
  2. NAMESPACES.
  3. INPUT/OUTPUT BASICS.
  4. REFERENCE VARIABLES.
  5. DYNAMIC MEMORY ALLOCATION.
  6. INTRODUCTION TO CLASSES.
  7. CONSTRUCTORS AND DESTRUCTORS.
  8. MORE CLASS FEATURES.
  9. EXCEPTION HANDLING.
  10. FUNCTION OVERLOADING.
  11. INHERITANCE.
  12. TEMPLATES.
  13. RUNTIME TYPE INFORMATION.
  14. IOSTREAM OUTPUT.
  15. IOSTREAM INPUT.
  16. MANIPULATORS.
  17. FILE INPUT/OUTPUT.
  18. THE STRING CLASS AND THE STANDARD TEMPLATE LIBRARY.

Errata for Learning C++

Purchase at Amazon.com, FatBrain.com or Thomson Learning