SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Focusing on data abstraction and data structures, the second edition of this very successful books continues to emphasize the needs of both the instructor and the student. The book illustrates the role of classes and abstract data types (ADTs) in the problem-solving process as the foundation for an object-oriented approach. Throughout the text, the distinction between specification and implementation is continually stressed. The text covers major applications of ADTs, such as searching a flight map and performing an event-driven simulation. It also offers early, extensive coverage of recursion and uses this technique in many examples and exercises. Overall, the lucid writing style, widespread use of examples, and flexible coverage of the materia have helped make this a leading book in the field.
New in this Edition** Instructor's materials are available from your sales rep. If you do not know your local sales representative, please call 1-800-552-2499 for assistance, or use the Addison Wesley Longman rep-locator at http://hepg.awl.com/rep-locator.
I. PROBLEM-SOLVING TECHNIQUES.
Principles of Programming and Software Engineering.
Problem Solving and Software Engineering.
Achieving a Modular Design.
A Summary of Key Issues in Programming.
Recursion: The Mirrors.
Recursive Solutions.
Counting Things.
Searching an Array Organizing Data.
Recursion and Efficiency.
Data Abstraction: The Walls.
Abstract Data Types.
Specifying ADTs.
Implementing ADTs.
Linked Lists.
Preliminaries.
Programming with Linked Lists.
Variations of the Linked List.
Application: Maintaining an Inventory.
Recursion as a Problem-Solving Technique.
Backtracking.
Defining Languages.
The Relationship Between Recursion and Mathematical Induction.
II. PROBLEM SOLVING WITH ABSTRACT DATA TYPES.
Stacks.
The Abstract Data Type Stack.
Simple Applications of the ADT Stack.
Implementations of the ADT Stack.
Application: Algebraic Expressions.
Application: A Search Problem.
The Relationship Between Stacks and Recursion.
Queues.
The Abstract Data Type Queue.
Simple Applications of the ADT Queue.
Implementations of the ADT Queue.
Application: Simulation.
A Summary of Position-Oriented ADTs.
Class Relationships.
Inheritance.
Virtual Functions and Late Binding.
The ADTs List and Sorted List Revisited.
Class Templates.
Overloaded Operators.
The Advantages of an Object-Oriented Approach.
Algorithm Efficiency And Sorting.
Measuring the Efficiency of Algorithms.
Keeping Your Perspective.
The Efficiency of Searching Algorithms.
Sorting Algorithms and Their Efficiency.
A Comparison of Sorting Algorithms.
Trees.
Terminology.
The ADT Binary Tree.
The ADT Binary Search Tree.
General Trees.
Tables and Priority Queues.
The ADT Table.
The ADT Priority Queue: A Variation of the ADT Table.
Advanced Implementations of Tables.
Balanced Search Trees.
Hashing.
Data with Multiple Organizations.
Graphs.
Terminology.
Graphs as ADTs.
Graph Traversals.
Applications of Graphs.
External Methods.
A Look at External Storage.
Sorting Data in an External File.
External Tables.
Appendix A. Review of C++ Fundamentals.
Language Basics.
Input and Output Using iostream.
Functions.
Selection Statements.
Iteration Statements.
Arrays.
Strings.
Structures.
File Input and Output.
Libraries.
Appendix B. ASCII Character Codes.
Appendix C. C++ Header Files And Standard Functions.
Appendix D. Mathematical Induction.
Glossary. 0201874024T04062001
p 90: In Fig. 2-20, the box labeled 2 should contain SolveTowers(2,A,C,B).
p156: In the middle of the page, insert an "=" between "B" and "new".
p 157: line 14: Replace the line with
p 285: Add the argument CityFileName to the function ReadFlightMap.
p 368: line 2 ran off the page; it should be
p 374 (middle of page): Quotes are missing from the include
p 374: Delete the next-to-last line (#include "ListT.h")
p 456: CopyTree should be a const function.
p 457: GetChildPtrs should be a const function.
p 461: CopyTree should be a const function.
p 462: GetChildPtrs should be a const function.
p 490: In the first precondition, replace RootPtr with NodePtr two times.
p 657 The margin note states "A Hamilton circuit ... passes through every edge exactly once...."; 'edge' should be 'vertex'.
Corrections made to the Source Code as of 3/27/98:
Corrections made to the Source Code as of 4/15/98: