Programming in C++

Stephen C. Dewhurst, Kathy T. Stark

Publisher: Prentice Hall, 1989, 233 pages

ISBN: 0-13-723156-3

Keywords: Programming

Last modified: May 10, 2021, 9:12 p.m.

This book is written for students and professional programmers who want to know more about the object-oriented programming language C++. It is helpful if the reader has a strong grasp of the C programming language. The authors introduce the features of C++, and also describe the modern programming paradigms of data abstraction and object-oriented programming.

There are a number of unique features:

  • An overall presentation that encourages the reader to think in new ways about the process of programming.
  • A detailed tutorial on the modern programming paradigms of data abstraction and object-oriented programming, plus sections on how to apply these paradigms.
  • An entire chapter on inheritance
  • A discussion of code reuse for increased program correctness and productivity
  • A "How-To" section for creating libraries

For students, there are end-of-chapter exercises. Solved exercises are listed in an appendix.

  1. Introduction
    1. The C++ Language
    2. Programming Paradigms
    3. Book Organization
  2. Data Types and Operations
    1. Numeric Types
    2. Scalar Types with Relational and Logical Operators.
    3. Nonabstract Operations
    4. User-Defined Types
    5. Pointers and Arrays
    6. References
    7. Const Qualified Types
    8. Exercise
  3. Procedural Programming
    1. Functions as Modules
    2. Functional Decomposition
    3. File Organization
    4. Structured Programming
    5. Overloaded and Inline Functions
    6. Arguments and Return Values
    7. Exercise
  4. Classes
    1. Class Types
    2. Data Members
    3. Function Members
    4. Operator Functions
    5. Access Protection and Friends
    6. Initialization and Conversions
    7. Pointers to Class Members
    8. Exercise
  5. Data Abstraction
    1. Complex Numbers
    2. Strings
    3. Sorted Collections
    4. Genericity
    5. Control Abstraction
    6. Exercises
  6. Inheritance
    1. Base and Derived Classes
    2. Class Hierarchies
    3. Virtual Functions
    4. Protected Members
    5. Inheritance as a Design Tool
    6. Inheritance for Interface Sharing
    7. Multiple Inheritance
    8. Virtual Base Classes
    9. Exercises
  7. Object-Oriented Programming
    1. Designing Objects
    2. Object Types as Modules
    3. Dynamic Object-Oriented Style
    4. Exercises
  8. Storage Management
    1. Storage Management in Constructors and Destructors
    2. Operator New and Operator Delete
    3. Storage Management of Arrays
    4. Class-Specific New and Delete
    5. Operator –>
    6. X(X&)
    7. Implicit Copy Semantics
    8. Exercises
  9. Libraries
    1. Interface to Existing Libraries
    2. Application-Oriented Languages
    3. Extensible Libraries
    4. Customizable Libraries
    5. Exercises
  • Appendix: Solved Exercises

Reviews

Programming in C++

Reviewed by Roland Buresund

Decent ****** (6 out of 10)

Last modified: Jan. 22, 2014, 11:37 a.m.

A decent intro to C++.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required