Book description
53274-7
Learn ANSI C++ right from the start!
If you're going to learn C++, learn it right from the start! Navigating C++ and Object-Oriented Design is the first book that teaches ANSI C++ and the object-oriented techniques that make C++ a software development breakthrough.
This comprehensive tutorial reflects the authors' extensive experience teaching C++ to professional developers. Start with the clearest introduction to object modeling you'll ever read. Then learn all the essentials of C++ and more advanced topics such as exceptions, namespaces, and dynamic memory allocation.
Next, discover C++ classes, the basic building block of object-oriented design. Through proven analogies and examples, the authors introduce containment and inheritance, overloading, templates, RTTI, and exception handling. And, the authors' unique presentation on multiple inheritance will give you invaluable insights into this complex topic.
Learn to apply C++ and object-oriented techniques to real-world development. Discover how to design classes effectively using the authors' class design boilerplate. Understand how to design container classes. Walk through class designs using the powerful OMT methodology.
Navigating C++ and Object-Oriented Design is one of the first C++ tutorials that covers in detail powerhouse ANSI C++ features like:
Namespaces, bool, member templates, and RTTI
Explicit, export, and nothrow versions of new and delete
The IOStream Library and Standard Template Library
Why learn C++ simply as a "better C" when you can write C++ code that really meets its potential? One book shows you how: Navigating C++ and Object-Oriented Design!
Table of contents
- Copyright
- Preface
- Acknowledgments
- Getting Started
- C++ Basics
- C++ Program Structure
- Classes
- Working with Classes
- Overloading
- Class Design
- Object Storage Management
- Template Functions
-
Template Classes
- Why Should Classes Be Generic?
- Template Class Definition
- Template Class Instantiation
- Specializing Template Classes
- Containment with Template Classes
- Composite Templates
- Template Class Static Members
- Constant Expression Parameters
- Template Friend Functions
- Template Friend Classes
- Template Nested Classes
- Member Templates
- Putting It All Together
- Key Point Summary
- Exercises
-
Inheritance
- Why Use Inheritance?
- Public Derivation
- Subtypes
- Virtual Functions
- Protected Access
- Using Declarations
- Private Derivation
- Protected Derivation
- Summary of Derivation Options
- Polymorphism with a Generic PtrList Class
- Abstract Base Classes
- Virtual Constructors
- A Class Design Boilerplate with Inheritance
- Putting It All Together
- Key Point Summary
- Exercises
- Run-Time Type Identification
- Exception Handling
- Multiple Inheritance
- IOStream Library
- Standard Template Library
- C++ Operator Precedence
- Index
Product information
- Title: Navigating C++ and Object-Oriented Design
- Author(s):
- Release date: October 1997
- Publisher(s): Pearson
- ISBN: 0135327482
You might also like
book
Practical C++ Design: From Programming to Architecture
Go from competent C++ developer to skilled designer or architect using this book as your personal …
book
Boost C++ Application Development Cookbook - Second Edition
Learn to build applications faster and better by leveraging the real power of Boost and C++ …
book
Inside the C++ Object Model
Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: …
book
Object-Oriented Programming with C++
Object-Oriented Programming (OOP) is a paradigm shift in programming, which defines, creates, and manipulates objects to …