C++: Effective Object-Oriented Software Construction, Concepts, Principles, Industrial Strategies, and Practices / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 95%)
Other sellers (Paperback)
  • All (14) from $1.99   
  • New (4) from $35.20   
  • Used (10) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$35.20
Seller since 2008

Feedback rating:

(169)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
0131041185 BRAND NEW NEVER USED IN STOCK 125,000+ HAPPY CUSTOMERS SHIP EVERY DAY WITH FREE TRACKING NUMBER

Ships from: fallbrook, CA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
$91.50
Seller since 2014

Feedback rating:

(273)

Condition: New
Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$105.00
Seller since 2014

Feedback rating:

(162)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
$105.00
Seller since 2014

Feedback rating:

(162)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by

Overview

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 techniquesto their full potential, C++: Effective Object Oriented Software Construction will help you achieve your most critical goals as a developer.

Read More Show Less

Product Details

  • ISBN-13: 9780131041189
  • Publisher: Prentice Hall Professional Technical Reference
  • Publication date: 5/28/1997
  • Edition description: Older Edition
  • Edition number: 1
  • Pages: 732
  • Product dimensions: 6.96 (w) x 9.19 (h) x 1.11 (d)

Read an Excerpt

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 linkedlist 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.

Read More Show Less

Table of Contents

Foreword
Preface
Acknowledgments
1 What Is Object-Oriented Programming? 1
2 What Is Data Abstraction? 27
3 Data Abstraction with C++ 77
4 Initialization and Garbage Collection within OOP 115
5 The Inheritance Concept 171
6 The Concept of Multiple Inheritance 257
7 Selective Exports from Classes (Friend Functions) 336
8 The Concept of Operator Overloading 367
9 Generic Types 417
10 Expecting the Unexpected 520
11 Mastering Data Abstraction 575
12 Using Inheritance Effectively 617
13 Understanding the C++ Object Model 701
Bibliographical References and Recommended Reading 733
Index 737
Read More Show Less

Preface

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 alinkedlist 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.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)