did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780130858504

Data Structures With C++ Using Stl

by ;
  • ISBN13:

    9780130858504

  • ISBN10:

    0130858501

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2001-07-17
  • Publisher: Pearson

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $233.31 Save up to $100.32
  • Rent Book $132.99
    Add to Cart Free Shipping Icon Free Shipping

    TERM
    PRICE
    DUE
    USUALLY SHIPS IN 24-48 HOURS
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.

Supplemental Materials

What is included with this book?

Summary

This book uses a modern object-oriented approach to data structures, unified around the notion of the Standard Template Library (STL) container classes. The book presents a systematic development of data structures supported by numerous examples and complete programs. The authors separate the applications of a data structure from its implementation.Includes an applied study of interesting and classical algorithms that illustrate the data structures using only simple mathematical concepts (Big-O notation is introduced intuitively); Many additional figures are integrated into the presentation; ADT (Abstract Data Type) for each data structureimmediately used to solve appropriate problems; Early and accessible introduction to templates and iterators; Use of modern C++ constructs in developing data structures and their applications provides enough language detail to sufficiently understand the constructs.

Author Biography

Professor William Ford and Professor William Topp are faculty members with the Computer Science Department, University of the Pacific, Stockton, California. They have also written Introduction to Computing with C++ and Object Technology (Prentice Hall, 1999) and Assembly Language and Systems Programming for the M68000 Family (Jones and Bartlett, 1992).

Table of Contents

Introduction to Data Structures
1(52)
Object Design Techniques
53(60)
Introduction to Algorithms
113(70)
The Vector Container
183(36)
Pointers And Dynamic Memory
219(62)
The List Container and Iterators
281(46)
Stacks
327(57)
Queues and Priority Queues
384(52)
Linked Lists
436(66)
Binary Trees
502(84)
Associative Containers
586(60)
Advanced Associative Structures
646(81)
Inheritance and Abstract Classes
727(63)
Heaps, Binary Files and Bit Sets
790(71)
Recursive Algorithms
861(78)
Graphs
939

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

Preface This book is designed to present the fundamentals of data structures from an object-oriented perspective. The focus is on data structures that efficiently store large collections of data. The structures, called containers, feature operations to access, insert, and remove items from the collection. The study of data structures is core to a computer science curriculum. This curriculum has had a rich and storied tradition. Computer researchers and practitioners have evolved a wide range of container structures to meet different problem situations. Initially, the focus was on implementation issues so that programs could efficiently store and access large data sets within the limited physical resources of the computer system. As computers developed greater CPU power and increased memory and storage capabilities, researchers and practitioners were free to give more consideration to the abstract design of the containers. The efforts were greatly aided by an emerging emphasis on object-oriented programming. Object technology provides a means of viewing containers as objects with designated operations to handle the data. A class declaration defines the structure of a container. The public member functions describe a programming interface that allows a container to be used in applications. Researchers at AT&T Bell Laboratories and Hewlett-Packard Research Labs combined the principles of generic and object-oriented programming to create a unified approach to the study of data structures and algorithms. The result is the Standard Template Library (STL), which is now part of the standard C++ library. STL provides a modern approach to data structures. It categories the structures as sequence and associative containers, along with adapter classes. By using templates rd iterators, the STL library allows a programmer to execute a broad range of algorithms that apply to each of the container classes. This is, however, not a book on STL. It draws on the design structure of STL to date a unifying study of data structures. The reader will be introduced to the basics of STL and become familiar with the essential elements of the library. The result will be an appreciation of the power, simplicity, and usefulness of STL. With this background, the reader can easily read a technical book on STL to learn more of its many features. While this book is designed as a textbook, a computer professional could use it as a self-study guide to data structures. Approach to Data Structures This book uses a very careful and systematic approach in the development of each data structure. The reader first views a structure informally as an ADT that provides a description of how the container stores elements. Text, figures, and examples provide a detailed understanding of the key operations for the data structure, without reference to any implementation. The reader is then introduced to a second view of the structure using a formal C++ class declaration or an API. The latter refers to an Application Programming Interface format that is the industry-wide standard for presenting class operations. The API format includes the function prototype, a description of its action, and a listing of its preconditions and postconditions. We use the API format to describe the STL container classes and the class declaration to describe the other data structures that are developed in the book. Once the reader is familiar with a formal representation of a data structure, the book provides a series of applications, which illustrate problem-solving situations that effectively use the structure. Having the reader understand the implementation of a data structure is a key feature of the book. Corresponding to each STL container class, the book presents a "mini Container" class that uses the STL interface but offers a straight forward implementation of the operations. The text clearly presents the design and coding of the key operations. The supplemental software supplies a complete listing of the class, with well-documented code. Ins and Outs of the Book This book assumes the reader has completed a first course in C++ object-oriented programming. The authors assume that the concepts of object composition, operator overloading, pointers and dynamic memory, and inheritance are covered briefly, if at all, in a first course. These concepts are carefully developed in this book in the context of their application to data structures. Periodically the book introduces only the essentials of a programming concept, and makes available a Web Tutorial that develops the concept in greater depth. The tutorials include examples and programs and provide the reader with enrichment that is not critical to understanding the text. The existence of a tutorial is clearly marked with an icon in the margin. Chapters 1 through 10 cover sequence containers (array, vector, list, deque), the adapter classes (stacks, queues, and priority queues), and an introduction to associative tree containers. The material, along with a development of pointers, dynamic memory, and linked lists contains the topics usually covered in a first course in data structures (CS2). Chapters 11 through 16 introduce more advanced containers that include sets, maps, balanced trees, heaps, hash tables and graphs. The chapters also include a study of applied searching and sorting algorithms, advanced recursion, and graph algorithms. The material is appropriate for a follow-up course in advanced data structures and applied algorithms (CS7). Supplemental Resources Readers may access the complete source code listings for all classes and programs in the book from the authors'' website at http://www.uop.edu/fordtoppor http://www.fordtopp.com,and from Prentice Hall at http://www.prenhall.com.The C++ source code has been tested and run in the Windows environment using Microsoft Visual C++ and Borland C++ Builder, and in the UNIX environment using GNU C++. The graphics library is implemented in each of these environments. To successfully compile and run the programs in the book using the Microsoft Visual C++,6.0 compiler, the reader must install the latest Service Pack. Instructions for obtaining and loading the service pack are available on the authors'' and Prentice Hall web sites. The same sites include the Web tutorials and Powerpoint slides that present the key topics from each chapter. An Instructor''s Resource CD (IRCD) is available to instructors and provides answers to all of the written exercises and a solution to all of the programming exercises and programming projects. The IRCD also has sample tests with ''questions in a variety of formats. All of these elements are provided in Word for' mat (".doc") to enable the selection and modification of individual items. For printing only, the IRCD also supplies the materials in Acrobat Reader (".pdf") and postscript (".ps") format. In addition, it provides individual source files of all the programs (*.cpp) and classes (*.h) that are developed in the exercises. The IRCD is available upon request by Professors and Instructors from your local Prentice Hall sales representative. Acknowledgments The authors have been supported by friends, students, and colleagues throughout he preparation of the second edition of Data Structures with C++ using STL.The University of the Pacific has generously provided resources and support to complete the project. Prentice Hall offered a dedicated team of professionals who hand the book design and production. We are especially grateful to our acquisitions editor, Petra Recter and to the production editor, AudriAnna Bazlen. We also appreciate the efforts of Sara Burrows, assistant editor, who worked with us on the compilation of the supplements, and the work of Jennie Burger, who is doing the active marketing of the book. Students have offer

Rewards Program