Textbook
Object-Oriented Programming in C++ISBN: 978-0-470-84399-4
Paperback
600 pages
December 2002, ©2002
This is a Print-on-Demand title. It will be printed specifically to fill your order. Please allow an additional 10-15 days delivery time. The book is not returnable.
|
1. About this Book.
Why Did Write this Book?
Prerequisites.
Organization of the Book.
How Should You Read this Book?
Example Code and Additional Informations.
Feedback.
2. Introduction: C++ and Object-Oriented Programming.
The C++ Language.
C++ as an Object-Oriented Programming Language.
Other Concepts of C++.
Teminology.
3. Basic Concepts of C++ Programs.
The First Program.
Types, Operators, and Control Constructs.
Functions and Modules.
Strings.
Collections.
Exception Handling.
Pointers, Arrays, and C-Strings.
Memory Management Using new and delete.
Communication with the Outside World.
4. Class Programming.
The First Class: Fraction.
Operators for Classes.
Running Time and Code Optimization.
References and Constants.
Input and Output Using Streams.
Friends and Other Types.
Exception Handling for Classes.
5. Inheritance and Polymorphism. Virtual Functions.
Polymorphism.
Multiple Inheritance.
Design Pitfalls with Inheritance.
6. Dynamic and Static Members.
Dynamic Members.
Other Aspects of Dynamic Members.
Inheritance of Classes with Dynamic Members.
Classes Containing Classes.
Static Members and Auxiliary Types.
7. Templates.
Why Templates?
Function Templates.
Class Templates.
Non-Type Template Parameters.
Additional Aspects of Templates.
Templates in Practice.
8. The Standard I/O Library in Detail.
The Standard Stream Classes.
File Access.
Stream Classes for Strings.
9. Other Language Features and Details.
Additional Details of the Standard Library.
Defining Special Operators.
Additional Aspects of new and delete.
Function Pointers and Member Pointers.
Combining C++ with C Code.
Additional Keywords.
10. Summary.
Hierarchy of C++ Operators.
Class-Specific Properties of Operations.
Rules for Automatic Type Conversion.
Useful Programming Guidelines and Conventions.
Bibliography.
Glossary.
Index.