Object-Oriented Programming in C++ / Edition 1

Object-Oriented Programming in C++ / Edition 1

by Nicolai M. Josuttis
     
 

C++ is now established as one of the leading industry programming languages for object-oriented software development. Its advantages over other languages include speed and flexibility. It is used as the base for many commercial software products and for performance solutions to complex problems. Not often taught as the primary programming language, students are

See more details below

Overview

C++ is now established as one of the leading industry programming languages for object-oriented software development. Its advantages over other languages include speed and flexibility. It is used as the base for many commercial software products and for performance solutions to complex problems. Not often taught as the primary programming language, students are frequently expected to pick up the language for themselves. This book is an ideal student self-learning guide.

As a step-by-step tutorial, this book teaches all language features and explains their practical usage. Intuitive examples are used that are neither too complex to distract, nor oversimplified. A key concept in C++ is programming with templates, which can help to program generic solutions - for example implementing polymorphism. Nicolai Josuttis teaches how to combine templates with object-oriented programming to produce the power of modern C++ development for high performance programs. It is a book that goes well beyond the basics.

A supplementary website, including source code, can be found at www.josuttis.com/cppbook

Features:
* comprehensive, detailed, readable, practical and up-to-date

* teaches how to get the power from C++, using the current ANSI language standard and programming mode

* specific hints help C and Java programmers switch and compare languages.

* website provides more examples and links to useful online resources.

Read More

Product Details

ISBN-13:
9780470843994
Publisher:
Wiley
Publication date:
12/30/2002
Edition description:
New Edition
Pages:
624
Product dimensions:
1.31(w) x 9.69(h) x 7.44(d)

Table of Contents

Preface.

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.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >