Product Cover Image

Absolute C++

By Walter Savitch

Published by Addison-Wesley

Published Date: Nov 13, 2001

Table of Contents

(All chapters contain Pitfalls, Programming Tips, and Self-Test Questions, and conclude with a Summary, Answers to Self-Test Questions, and Programming Exercises.)

1. C++ Basics.

Introduction to C++.

Variables, Expressions, and Assignment Statements.

Console Input/Output.

Program Style.

Libraries and Namespaces.



2. Flow of Control.

Boolean Expressions.

Branching Mechanism.

Loops.



3. Function Basics.

Predefined Functions.

Programmer-Defined Functions.

Scope Rules.



4. Parameters and Overloading.

Parameters.

Overloading and Default Arguments.

Testing and Debugging Functions.



5. Arrays.

Introduction to Arrays.

Arrays in Functions.

Programming with Arrays.

Multidimensional Arrays.



6. Structures and Classes.

Structures.

Classes.



7. Constructors and Other Tools.

Constructors.

More Tools.

Vectors-A Preview of the Standard Template Library.



8. Operator Overloading, Friends, and References.

Basic Operator Overloading.

Friend Functions and Automatic Type Conversion.

References and More Overloaded Operators.



9. Strings.

An Array Type for Strings.

Character Manipulation Tools.

The Standard Class string.



10. Pointers and Dynamic Arrays.

Pointers.

Dynamic Arrays.

Classes, Pointers, and Dynamic Arrays.



11. Separate Compilation and Namespaces.

Separate Compilation.

Namespaces.



12. Streams and File I/O.

I/O Streams.

Tools for Stream.

Stream Hierarchies: A Preview of Inheritance.



13. Recursion.

Recursive Void Functions.

Recursive Functions that Return a Value.

Thinking Recursively.



14. Inheritance.

Inheritance Basics.

Programming with Inheritance.



15. Polymorphism and Virtual Functions.

Virtual Function Basics.

Pointers and Virtual Functions.



16. Templates.

Function Templates.

Class Templates.

Templates and Inheritance.



17. Linked Data Structures.

Nodes and Linked Lists.

Linked List Applications.

Iterators.

Trees.



18. Exception Handling.

Exception Handling Basics.

Programming Techniques for Exception Handling.



19. Standard Template Library.

Iterators.

Containers.

Generic Algorithms.



20. Patterns and UML.

Patterns.

UML.



Appendix 1: C++ Keywords.


Appendix 2: Precedence of Operators.


Appendix 3: The ASCII Character Set.


Appendix 4: Some Library Functions.


Appendix 5: Old and New Header Files.


Further Reading.


Index.

Purchase Info

ISBN-10: 0-201-70927-9

ISBN-13: 978-0-201-70927-8

Format: Component

This title is currently unavailable on myPearsonStore.
We recommend Absolute C++ CodeMate Enhanced Edition as a replacement.