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.

9780130158857

Object-Oriented Programming in C++

by ;
  • ISBN13:

    9780130158857

  • ISBN10:

    0130158852

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 1999-08-03
  • Publisher: Pearson
  • 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: $199.99

Summary

A valuable handbook/reference for professionals who need to learn C++ and master its latest updates, this exceptionally organized, #1-rated guide teaches the power and flexibility of the C++ programming language through object-oriented programming applications.Examines the most up-to-date C++ features, including new-style headers, new-style casts, type bool, type string, stringstream classes, namespaces, namespace std., exception handling, run-time type identification, operator new , the template input/output classes, and more. Offers complete coverage on STL (standard template library), including containers, iterators, algorithms, and function objects; the standard input/output library IN DETAIL; and the Microsoft Foundation Classes. Contains an extensive number of well-constructed examples, beautifully fashioned sample applications, interesting and practical programming exercises, boxed figures and vibrant illustrations. A companion web site provides the book's source code, header files, and data files; sample syllabi; transparencies; and an errata list.For professionals in computer science and related fields.

Author Biography

RICHARD JOHNSONBAUGH is professor of computer science at DePaul University. He has degrees in computer science and mathematics from the University of Oregon, Yale University, and the University of Illinois at Chicago. He is the author of Discrete Mathematics, Fourth Edition, and the co-author with Martin Kalin of C for Scientists and Engineers, Applications Programming in C++, Applications Programming in ANSI C, Third Edition, and Object-Oriented Programming in C++.

MARTIN KALIN is also professor of computer science at DePaul University. He has a Ph.D. degree in logic from Northwestern University. His research areas include data communications and programming languages. He has written large systems in the areas of scheduling and product configuration for Fortune 100 companies.

Table of Contents

Object-Oriented Programming
1(20)
From C to C++
21(77)
Classes
98(77)
Inheritance
175(54)
Polymorphism
229(56)
Operator Overloading
285(55)
Templates And The Standard Template Library
340(62)
The C++ Input/Output Class Hierarchy
402(77)
Object-Oriented Programming In The Microsoft Foundation Classes
479(48)
A ASCII Table 527(4)
B Selected C++ Functions And Methods 531(43)
Hints And Solutions To Odd-Numbered Exercises 574(27)
Index 601

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

PrefaceThis book is based on C++ courses given by the authors at DePaul University and can be used for self-study or for a course on object-oriented programming in C++. We assume no prior knowledge of C++, but we do assume knowledge of C. Coverage of C at the level provided in R. Johnsonbaugh and M. Kalin,Applications Programming in ANSI C, 3rd ed. (Upper Saddle River, N.J.: Prentice Hall, 1996) provides sufficient background for this book. The book and its supplements-- a CDROM containing Microsoft's C++ compiler, anInstructor's Guide, and a World Wide Web site-- provide a comprehensive support system to help the reader master C++. In this book, as in our other C and C++ books, we make extensive use of examples, figures, self-study exercises, sample applications, lists of common programming errors, and programming exercises. We strive for clarity throughout the book and also illustrate a variety of good programming practices.This book treats object-oriented principles (see Chapter 1); emphasizes sound programming practices; introduces templates and the standard template library (see Chapter 7); presents in depth the C++ input/output class hierarchy (Chapter 8); features major, useful examples (e.g., a stack class, Sections 3.2 and 7.2; and a random access file class, Section 8.6); and introduces objectoriented programming in the Microsoft Foundation Classes in Chapter 9.The C++ language presented here is based on the approved standard. As such it contains the latest additions and changes to the language includingThe logical typebool.Thestringclass.New-style headers.Namespaces and the namespacestd.New-style casts.STL (Standard Template Library).Exception handling.Run-time type identification.The operatornew.The template input/output classes.Thestringstreamclasses.OverviewDuring the 1980s and early 1990s, C became the language of choice for many applications and systems programmers. Most major software available for personal computers was written in C: spreadsheets, word processors, databases, communications packages, statistical software, graphics packages, and so on. Virtually all software written for the UNIX environment was likewise written in C, and many mainframe systems meant to be ported from one platform to another were also coded in C. In the early 1980s, Bjarne Stroustrup of AT&T Bell Labs developed C++ as an extension of C that supports object-oriented programming, a type of programming that is well suited to the large, complex software systems now written for all platforms, from the cheapest personal computers to the most expensive mainframes. C++ also corrects some shortcomings in C, which C++ includes as a subset, and it supports abstract data types and generic functions through templates.C++ is a highly complex language. Fortunately, most C++ programmers can benefit from its power without mastering each and every one of its features. We focus on the most useful aspects of the language, but we place some of the more esoteric and specialized parts of the language in endof-chapter sections labeled C++Postscript. We focus onusingC++ to write practical programs based on sound design techniques, rather than on tricks and surprises in C++.About This BookThis book includesExamples and exercises that cover a wide range of applications.Motivating real-world applications.A broad variety of programming exercises. The book contains over 100 programming exercises.End-of-chapter lists of common programming errors.Coverage of STL (the Standard Template Library) (Chapter 7).Discussion of the standard C++ input/output class library (Chapter 8).Coverage of object-oriented programming in the Microsoft Foundation Classes (Chapter 9).Exercises at the ends of sections

Rewards Program