Home > Store

C++: Effective Object-Oriented Software Construction: Concepts, Practices, Industrial Strategies and Practices, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

C++: Effective Object-Oriented Software Construction: Concepts, Practices, Industrial Strategies and Practices, 2nd Edition

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

  • Classes, objects, and data abstraction.
  • Object design techniques and strategies for building efficient and stable architectures.
  • The C++ object model, and its cost/benefit implications.
  • C++ code style guidelines for projects.
  • Tips for writing multi-threaded object-oriented software.
  • Single and multiple inheritance, generic programming, and error management.

Description

  • Copyright 2000
  • Dimensions: 7" x 9-1/4"
  • Pages: 784
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-086769-1
  • ISBN-13: 978-0-13-086769-8


8676J-4

Learn to program the way commercial developers do!

C++: Effective Object Oriented Software Construction, Second Edition is crafted to help you understand the C++ object-oriented paradigm in depth. It enables you to translate object concepts to practical solutions, no matter what software development environment you encounter. This edition is updated for the new ANSI C++ standard. The book introduces the fundamentals of object-oriented design/programming in the context of real world C++ software development, presenting proven strategies for using C++ to engineer elegant, high-quality software as quickly and efficiently as possible. You'll learn about:

  • Classes, objects, and data abstraction
  • 0bject design techniques and strategies for building efficient and stable architectures
  • The C++ object model, and its cost/benefit implications
  • C++ code style guidelines for projects
  • Tips for writing multi-threaded object-oriented software
  • Single and multiple inheritance, generic programming, and error management

In this book, the author reveals the strategies professional developers have learned to maximize code and design reuse. You'll learn how to manage the extensive "housekeeping" that's associated with effective C++ software development. Then, you'll walk through detailed, real-world comparisons of the strengths and weaknesses of the major object-oriented languages. In addition, this book uses UML (Unified Modeling Language) to illustrate its design examples.

Whether you're a new programmer, a programmer familiar with procedural languages, or a C++ programmer who isn't using object-oriented techniques to their full potential, C++: Effective Object Oriented Software Construction will help you achieve your most critical goals as a developer.

Sample Content

Downloadable Sample Chapter

Click here for a sample chapter for this book: 0130867691.pdf

Table of Contents

I. CONCEPTS, PRACTICES, AND APPLICATIONS.

1. What Is Object-Oriented Programming?
2. What Is Data Abstraction?
3. Data Abstraction with C++.
4. Initialization and Garbage Collection within OOP.
5. The Inheritance Concept.
6. The Concept of Multiple Inheritance.
7. Selective Exports from Classes (Friend Functions).
8. The Concept of Operator Overloading.
9. Generic Types.
10. Expecting the Unexpected.

II. USING OBJECT-ORIENTED PROGRAMMING EFFECTIVELY.

11. Mastering Data Abstraction.
12. Using Inheritance Effectively.
13. Understanding the C++ Object Model.
Appendix.
Bibliographical References and Recommended Reading.
Index.

Preface

Preface

Now that Object-Oriented Software Development is here to stay and is the preferred way to develop software, there is an increasing demand for good object-oriented software developers, designers, and system architects. To be successful in the world of object-oriented programming (OOP) one has to unlearn quite a few of the habits acquired from years of procedure-oriented programming and learn some new ways of looking at problems.

Object-Oriented Programming requires a thorough understanding of some fundamental paradigms, or concepts. Understanding these paradigms is essential to building a strong foundation in the OO software world. Any language that supports OOP must support these fundamental paradigms. In other words, learning effective OOP is simply learning a set of powerful paradigms that are supported by many languages like C++, Eiffel, Smalltalk, Java, etc. The first goal of this book is to drive home the essential concepts and principles of Object-Oriented Programming without getting too deep into the syntactic issues of a language. This is covered in Part I: Concepts, Practices, and Applications.

Mastering the syntax of a language that supports OOP is not the same as learning the concepts of OOP. One might be a guru of C++ or Java without any knowledge whatsoever of the basic OOP paradigms. On the other hand, anyone who imbibes the fundamental concepts of OOP will be able to use those concepts effectively with any language that supports OOP. Moreover, he or she would also know when to use a particular concept. As an analogy, anyone who has mastered the concept of a linked list will find it elementary to implement a linked list in Pascal, C, or Modula-2. If you know how to swim, you can swim in a lake, pond, or pool. The language is just a vehicle that helps in reaching the final goal.

Learning OOP concepts is just the first milestone, but thatÕs not the ultimate destination of any programmer/designer. One should be able to apply these concepts to problems in oneÕs domain or area of expertise. A financial planner might want to develop an object framework to manage personal finances; a department store might build an application to manage its inventory. But it is not a straightforward task to apply OOP principles to all these diverse areas. Solving toy textbook examples might be trivial, but conquering domain-specific problems and building systems is no cakewalk. It helps to learn from specific examples from specialized domains (for example, file systems, car dealership management, desktop publishing, flight scheduling system, etc.) IÕm definitely not knowledgeable in any of these areas and most readers may not find them very interesting because of their unfamiliarity with them. This is a classic problem authors face when writing about object-oriented design. However, there are certain rules of thumb that are useful to any software professional trying to solve complex problems, independent of the problem domain. One should know exactly when to use a butter knife or a chain saw. The second part of the book, C++: Using Object-Oriented Programming Effectively, illustrates some advanced OOP techniques with simple examples. Powerful strategies for using OO designs effectively are presented in this section. Professional developers are not content with just learning tricks and tacticsÑthey also would like to know the pros and cons of each technique, the alternatives, effect on portability and efficiency, and so on. All the necessary and important issues of the various techniques are discussed in detail. It is this overall knowledge that transforms a colt into a thoroughbred.

The emphasis throughout this book is on concepts and not on language syntax, although quite a few language issues are presented. Differences between C++ and other object-oriented languages are discussed for all major topics. Features from other OOP languages are compared to those in C++ to drive home concepts of OOP (and at times language design). This gives a deeper and broader picture of the OOP world. Just because the examples are coded in C++ does not mean that C++ is the only language to choose from. There are other equally good (if not better) OOP languages. It is good to gain an insight into the design goals of different languages. For readers already familiar with an OOP language other than C++, details of major concepts are first discussed from the C++ perspective, then followed by discussions of Eiffel and Smalltalk.

Since C++ is becoming increasingly popular (because of its rich feature set, strict static type checking, and strong support for writing industrial strength software) one ideally should be proficient in both C++ and OOP concepts. Well, just learning C++ syntax isnÕt much fun; we would like to pursue a much higher goal. In order to exploit the full potential of OOP with C++, there are a number of special patterns, techniques, and tricks that seasoned object-oriented software developers employ to turbo charge their programs. There are many such time-tested techniques currently being used in the C++ world. Also, at times it helps to know why certain features are the way they are in a language. It gives the programmer a better understanding of the language (and sometimes more respect for the designers of the language). It also helps in using the language more efficiently. The latter chapters in Part I cover those topics. Examples on many powerful C++ strategies and tactics are presented throughout the book.

Beginners should read Part I first, which deals with paradigms, theories, and applications. Within Part I, chapters are organized based on relevance and the difficulty of the material. Chapter 1 is a preliminary introduction and is followed by a thorough discussion of data abstraction in Chapter 2. Brief overviews of the Unified Modeling Language and the Booch methodology can be found in Chapter 2 as well. Chapters 3 and 4 shed further light on the object model and good interface design. Inheritance is covered in all its glory in Chapters 5 and 6, followed by some simpler topics in Chapters 7 and 8. Generic programming is given its due share in Chapter 9. Finally, Chapter 10 deals with exception management. The first chapter in Part II, Chapter 11, tries to demonstrate strategies for building powerful abstractions, while Chapter 12 does the same with inheritance. Finally, Chapter 13 briefly delves into the C++ object model.

Any chapter can be read at random, but some continuity might be lost because some examples carry through from the first four chapters. Chapters in Part II stand on their own.

Throughout the book, I have avoided showing dry implementation code as much as possible to keep things focused and short. Most implementation code is quite uninteresting. Implementation code is only shown in places where it adds considerable value to the on-going discussion.

This book can be used as an introductory or advanced text on object-oriented programming and will be very useful for programmers and students who are new to OOP. The second part of the book is useful for programmers already familiar with OOP concepts. Programmers familiar with other OOP languages (other than C++) are better served reading Part I first and then concentrating on Part II. Part I of the book can serve as an introductory course on OOP for undergraduate students, and Part I and Part II together can be used for a graduate course on OOP and C++ topics. Most of the book would immensely help fresh /intermediate developers and designers and seasoned professional will benefit from many chapters in Part-I and all of Part-II. This book can also be a good reference text once you have read most of the chapters.

This book assumes some rudimentary C++ syntax familiarity and some general programming experience (even classroom exposure is good enough). Some of the more complex parts of the C++ language (such as templates, exceptions, and inheritance) are covered in detail, with respect to language syntax.

In this second edition, some of the code examples have been updated to conform to ANSI C++ standard and some parts are rewritten to illustrate concepts more clearly. Also, numerous errors found in the first edition have been fixed.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020