Problem Solving with C++: The Object of Programming / Edition 1

Problem Solving with C++: The Object of Programming / Edition 1

by Walter J. Savitch, Carter Shanklin
     
 

ISBN-10: 080537440X

ISBN-13: 9780805374407

Pub. Date: 09/01/1995

Publisher: Addison-Wesley

Enables readers to efficiently master the fundamentals of C++ and object-oriented programming, while imparting skills that are valuable with virtually any contemporary programming language. Writing in a friendly, highly motivational style, Walter Savitch begins with an overview of programming and problem-solving, then walks through all the fundamentals of C++

Overview

Enables readers to efficiently master the fundamentals of C++ and object-oriented programming, while imparting skills that are valuable with virtually any contemporary programming language. Writing in a friendly, highly motivational style, Walter Savitch begins with an overview of programming and problem-solving, then walks through all the fundamentals of C++ development. Coverage includes: variables, assignments, I/O, data types, expressions, flow control, functions, arrays, strings, vectors, pointers, and recursion, along with complete chapters on inheritance, exception handling, and templates. From start to finish, Savitch presents C++ examples in the context of complete, executable programs that are available for download. This edition fully embraces the latest ANSI/ISO standards, features an all-new chapter on the STL, and includes expanded coverage of namespaces. Improvements also include: access to Addison-Wesley's exclusive online CodeMate program competency builder; an all-new, full-color design, and many new exercises. For anyone who wants to master object-oriented programming with C++: both those who have experience with other languages, and those learning programming for the first time

Product Details

ISBN-13:
9780805374407
Publisher:
Addison-Wesley
Publication date:
09/01/1995
Edition description:
Older Edition
Pages:
848
Product dimensions:
7.34(w) x 9.05(h) x 1.28(d)

Table of Contents

1. Introduction to Computers and C++ Programming.

Computer Systems.

Programming and Problem Solving.

Introduction to C++.

Testing and Debugging.

2. C++ Basics.

Variables and Assignments.

Input and Output.

Data Types and Expressions.

Simple Flow of Control.

Program Style.

3. Functions that Return a Value.

Top-Down Design.

Programmer-Defined Functions.

Procedural Abstraction.

Local Variables.

Overloading Function Names.

4. Functions for All Subtasks.

void-Functions.

Call-by-Reference Parameters.

Using Procedural Abstraction.

5. I/O Streams as an Introduction to Objects and Classes.

Streams and Basic File I/O.

Tools for Stream I/O.

Character I/O.

Inheritance.

6. Defining Classes.

Structures.

Classes.

Abstract Data Types.

7. More Flow of Control.

Using Boolean Expressions.

Multiway Branches.

Designing Loops.

8. Friends and Overload Operators.

Friend Function.

Overloading Operators.

9. Separate Compilation and Namespaces.

Separate Compilation.

Namespaces.

10. Arrays.

Introduction to Arrays.

Arrays in Functions.

Programming with Arrays.

Arrays and Classes.

Multidimensional Arrays.

11. Strings and Vectors.

An Array Type for Strings.

Vectors.

12. Pointers and Dynamic Arrays.

Pointers.

Dynamic Arrays.

Classes and Dynamic Arrays.

13. Recursion.

Recursive Functions for Tasks.

Recursive Functions for Values.

Thinking Recursively.

14. Templates.

Templates of Algorithm Abstraction.

Syntax for Class Templates.

15. Pointers and Linked Lists.

Nodes and LinkedLists.

A Linked List Application.

16. Inheritance.

Inheritance Basics.

Inheritance Details.

Polymorphism.

17. Exception Handling.

Exception Handling Basics.

Programming Techniques for Exception Handling.

Appendices.

Appendix 1. C++ Keywords.

Appendix 2. Precedence of Operators.

Appendix 3. ASCII Character Set.

Appendix 4. Some Library Functions.

Appendix 5. The Assert Statement.

Appendix 6. Inline Functions.

Appendix 7. Overloading the Array Index Square Brackets.

Appendix 8. The This Pointer.

Appendix 9. Overloading Operators as Member Operators.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >