C++ By Dissection

Paperback (Print)
Buy New
Buy New from BN.com
Used and New from Other Sellers
Used and New from Other Sellers
from $4.46
Usually ships in 1-2 business days
(Save 97%)
Other sellers (Paperback)
  • All (11) from $4.46   
  • New (4) from $74.58   
  • Used (7) from $4.46   

More About This Textbook


C++ by Dissection presents a thorough introduction to the programming process by carefully developing working programs to illuminate key features of the C++ programming language. This book presents the concepts of the programming process using the "dissection" method, the hallmark feature that has made Ira Pohl's C and Java books of the "By Dissection" series so popular. Dissection is a unique pedagogical tool first developed by the author to point out key features of program code. It is similar to a structured walk-through of the code, with the intention of explaining newly encountered programming elements and idioms as found in working code. The book includes a CD-ROM containing a compiler and an electronic version of the book that allows readers to search, take notes, and highlight right on their computer. Each chapter presents a number of carefully explained programs, which lead the reader in a holistic manner to ever-improving programming skills. Right from the start, the reader is introduced to complete programs, and at an early point in the book, the reader is introduced to writing functions as a major feature of structured programming. It contains four to seven small code dissections per chapter, and then each chapter culminates with a larger, extended code dissection. "Software Engineering" sections in each chapter reinforce sound software engineering skills. The book assumes no programming background and can be used by first-time computer users or by experienced programmers who are transitioning to C++.

Read More Show Less

Product Details

  • ISBN-13: 9780201787337
  • Publisher: Addison-Wesley
  • Publication date: 10/18/2001
  • Edition description: New Edition
  • Pages: 568
  • Product dimensions: 6.92 (w) x 8.89 (h) x 1.26 (d)

Table of Contents

1. Writing an ANSI C++ Program.

Getting Ready to Program.

A First Program.

Problem Solving Recipes.

Implementing Our Algorithm in C++.

Software Engineering: Style.

Dr. P's Prescriptions.

C++ compared with Java.

2. Native Types and Statements.

Program Elements.


Program Structure.

Simple Types.

The Traditional Conversions.

Enumeration Types.



Software Engineering: Debugging.

Dr. P's Prescriptions.

C++ compared with Java.

3. Functions, Pointers and Arrays.


Function Invocation.

Function Definition.

The return Statement.

Function Prototypes.

Default Arguments.

Functions as Arguments.

Overloading Functions.


Scope and Storage Class.


Pointer Types.

Reference Declarations.

The Uses of void.


Arrays and Pointers.

Passing Arrays to Functions.

Core Language ADT: char* String.

Multidimensional Arrays.

Operators new and delete.

Software Engineering: Program Correctness.

Dr. P's Prescriptions.

C++ Compared with Java.

4. Classes and Abstract Data Types.

The Aggregate Type class and struct.

Member Selection Operator.

Member Functions.

Access: Private and Public.


Class Scope.

An Example: Flushing.

The this Pointer.

static and const Members.

A Container Class Example: ch_stack.

Software Engineering: Class Design.

Dr. P's Prescriptions.

C++ Compared with Java.


Bit Fields.

5. Ctors, Dtors, Conversions and Operator Overloading.

Classes with Constructors.

Improving the point Class.

Constructing a Stack.

Classes with Destructors.

Members That Are Class Types.

Example: A Singly Linked List.

Strings Using Reference Semantics.

Constructor Issues and Mysteries.


Overloading and Function Selection.

Friend Functions.

Overloading Operators.

Unary Operator Overloading.

Binary Operator Overloading.

Overloading =, [ ] and ( ).

Overloading << and >>.

Overloading _>.

Overloading new and delete.

Software Engineering: Overloading.

Dr. P's Prescriptions.

C++ Compared with Java.

6. Templates and Generic Programming.

Template Class stack.

Function Templates.

Generic Code Development: Quicksort.

Class Templates.

Parameterizing the Class vector.

Using STL: string, vector and complex.

Software Engineering: Generics.

Dr. P's Prescriptions.

C++ Compared with Java.

7. Standard Template Library.

A Simple STL Example.




Numerical Integration Made Easy.

STL: Function Objects.


Software Engineering: STL Use.

Dr. P's Prescriptions.

C++ Compared with Java.

8. Inheritance and OOP.

A Derived Class.

A Student ISA Person.

Virtual Functions: How T is Dynamically Determined.

Abstract Base Classes.

Templates and Inheritance.

Multiple Inheritance.

Inheritance and Design.

Runtime Type Identification.

Software Engineering: Inheritance.

Dr. P's Prescriptions.

C++ Compared with Java.

9. Input/Output.

The Output Class ostream.

Formatted Output and iomanip.

User-Defined Types: Output.

The Input Class istream.


Using Strings as Streams.

The Functions and Macros in ctype.

Using Stream States.

Mixing I/O Libraries.

Software Engineering: IO.

Dr. P's Prescriptions.

C++ Compared with Java.

10. Exceptions and Program Correctness.

Using the assert Library.

C++ Exceptions.

Throwing Exceptions.

try Blocks.


Converting Assertions to Exceptions.

Exception Specification.

terminate() and unexpected().

Standard Exceptions and Their Uses.

Software Engineering: Exception Objects.

Dr. P's Prescriptions.

C++ Compared with Java.

11. OOP Using C++.

OOP Language Requirements.

OOP: The Dominant Programming Methodology.

Designing with OOP in Mind.


Design Patterns.

Software Engineering: Last Thoughts.

Dr. P's Prescriptions.

C++ Compared with Java.

Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


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


  • - 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
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted November 20, 2001

    Its here and has a CD with visual C++ compiler

    This book supercedes my other C++ books. It is very much rewritten with many dissections and cartoons. it has an excellent summation of how to do generic programming in C++. the cd contains all working code and a visual c++ compiler. It is here and readily available.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

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