Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
38 used & new from $16.64

Have one to sell? Sell yours here
 
   
C++ FAQs (2nd Edition)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

C++ FAQs (2nd Edition) (Paperback)

by Marshall P. Cline (Author), Greg Lomow (Author), Mike Girou (Author)
Key Phrases: const throw, constructor idiom, improper inheritance, Language Facilities, Big Three, Visual Basic (more...)
4.3 out of 5 stars See all reviews (27 customer reviews)

List Price: $64.99
Price: $52.29 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.70 (20%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 3 left in stock--order soon (more on the way).

Want it delivered Wednesday, July 15? Choose One-Day Shipping at checkout. Details
23 new from $35.74 15 used from $16.64

Frequently Bought Together

C++ FAQs (2nd Edition) + Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series) + More Effective C++: 35 New Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)
Price For All Three: $134.05

Show availability and shipping details


Customers Who Bought This Item Also Bought

More Effective C++: 35 New Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)

More Effective C++: 35 New Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)

by Scott Meyers
4.4 out of 5 stars (39)  $40.97
Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series)

Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series)

by Erich Gamma
4.5 out of 5 stars (261)  $41.57
The C++ Programming Language: Special Edition (3rd Edition)

The C++ Programming Language: Special Edition (3rd Edition)

by Bjarne Stroustrup
4.2 out of 5 stars (283)  $63.99
The C++ Standard Library: A Tutorial and Reference

The C++ Standard Library: A Tutorial and Reference

by Nicolai M. Josuttis
4.8 out of 5 stars (98)  $59.99
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library (Addison-Wesley Professional Computing Series)

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library (Addison-Wesley Professional Computing Series)

by Scott Meyers
4.5 out of 5 stars (36)  $40.86
Explore similar items

Editorial Reviews

Review



“This is no mere reprint. This is a great book — a definite gem.”


—Cyberdiem.com



Product Description
Brings you the most efficient solutions to more than 400 of the practical programming challenges you face every day in C++ FAQ. Paper. DLC: C++ (Computer programming language).

See all Editorial Reviews

Product Details

  • Paperback: 624 pages
  • Publisher: Addison-Wesley Professional; 2 edition (December 21, 1998)
  • Language: English
  • ISBN-10: 0201309831
  • ISBN-13: 978-0201309836
  • Product Dimensions: 9.1 x 7.4 x 1.3 inches
  • Shipping Weight: 2.1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars See all reviews (27 customer reviews)
  • Amazon.com Sales Rank: #46,846 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #33 in  Books > Computers & Internet > Microsoft > Development > C & C++ Windows Programming

Inside This Book (learn more)


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(1)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

27 Reviews
5 star:
 (17)
4 star:
 (4)
3 star:
 (3)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (27 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
32 of 34 people found the following review helpful:
3.0 out of 5 stars Decent, but largely redundant., October 22, 2003
By Alexander L. Belikoff (NY, United States) - See all my reviews
(REAL NAME)   
This is a 'much expanded' version of the famous on-line C++ FAQ which promises much more detail and material. Since I am trying to constantly prove that I do know C++ well, I picked this book during my C++ book buying craze. I did read this book and while it doesn't make any serious mistakes related to C++, I just don't feel this book is relevant.

First of all, the authors have clearly not given any thought to what their target audience would be. The level of presentation swings wildly from absolute basics (What is a class?) to fairly advanced subjects. Just as I found too many elementary questions in the book, someone less prepared would be surprised by a number of "advanced" topics. While this is understandable for a free on-line document, it doesn't render well in a rather costly book. Same applies to the annoying 'New!' labels marking new or updated topics. Again, this makes sense in a frequently changing on-line document, but it looks ridiculous in a printed book.

The C++ design and coding style presented feels fairly solid and in that sense I can recommend this book to anyone without fearing that it would teach him something objectionable. The authors do their best to stress the importance of interpretation of a base class as a contract and this is a good thing. However, there are still some questionable statements that I don't agree with:

- In 9.02 the authors suggest using exceptions for error handling - all error handling. Whether it is a good thing or not is still a hotly debated topic and I would suggest to at least present the disadvantages of such an approach and alternative methods.

- The authors routinely check the new operator result for NULL, which not only doesn't make much sense (per ANSI C++, new() doesn't return NULL if it cannot create an object) but also teaches a fairly bad technique.

Now, imagine my surprise when, while reading a book on C++ (presumably C++ language), I ended up with a chapter on COM and then another one on CORBA. No matter how related this material may feel, it is still not C++-specific. This sudden addition feels like book padding and that aforementioned 'additional material' that was supposed to sway the users of the free version to purchase the printed book. Well, it seems to have had a completely opposite effect upon me.

I fully understand the authors' desire to be rewarded for their creation (that is, the on-line C++ FAQ). However, this is not an excuse to produce a book which is essentially a rehashed version of the free material diluted with barely relevant topics. Bottom line: read the free on-line version and spend your money either on Stroustrup's "The C++ programming Language" (if you are a novice) or on Myers's "Effective C++" dilogy.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
20 of 20 people found the following review helpful:
5.0 out of 5 stars Excellent concise reference., April 19, 1999
By A Customer
This is the first book I pick up when I need an answer.

The entire book is a series of FAQs, organized extremely well. Each topic has its own chapter. Within a chapter, the questions progress from general to specific, often in the same order that they pop into my mind. Each question is followed by a cut-to-the-chase 1-sentence answer, followed by a more detailed explanation. Finding your question in the book is facilitated by a table of contents that lists each FAQ, and a detailed index.

I also like the editorializing. ("Arrays are evil.") One reason I find C++ baffling is that there are so many ways to do something. The authors pick a way and tell you why it is better than the alternatives. That's information I can use.

As a bonus, there's a chapter on understanding management's perspective. For example, when you're trying to convince management to adopt the object-oriented paradigm, "Show why it's relevant... don't use the 'it will keep the developers happy' approach ... most managers think that they are the people who need to be kept happy ...".

Incidentally, when I find the time, I plan to systematically read the book start to finish, just to fill in gaps in my knowledge. It is entertaining enough that I'm actually looking forward to it.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
27 of 31 people found the following review helpful:
3.0 out of 5 stars Questions, questions? Answers, answers., February 5, 2003
By Bowen Simmons (Sunnyvale, CA USA) - See all my reviews
(REAL NAME)   
I always like to start any review of a technical book with the table of contents, and see no reason to break with that practice here:

I Preliminaries

Introduction - Basic C++ Syntax and Semantics - Understanding the Management Perspective- The Architectural Perspective

II Object-Oriented Design

Object-Oriented Fundamentals - Specification of Observable Behavior - Proper Inheritance - Detecting and Correcting Improper Inheritance - Error Handling Strategies - Testing Strategies

III Language Facilities

References ('&' type) - New and Delete - Inline Functions - Const Correctness - Namespaces - Using Static - Derived Classes - Access Control - Friend Classes and Friend Functions - Constructors and Destructors -Virtual Functions - Initialization Lists - Operator Overloading - Assignment Operators - Templates - Exception Tactics - Types and RTTI - Containers

IV Topics

Mixing and Overloading with Inheritance - The Big Three (destructors, copy constructors, assignment operators) - Using Objects to Prevent Memory Leaks - Wild Pointers and Other Devilish Errors - High-Performance Software - COM and Active X - Transitioning to CORBA - C Language Considerations - Private and Protected Inheritance - Pointers to Member Functions - The Transition to OO and C++

-

I don't think there are any great C++ books. A great book would eliminate the need for others, which none that I've seen do. Even if not great, this is a good book, and worth reviewing. The book attempts to be two things: first, a programming style guide, and second, a nuts-and-bolts C++ reference book. (Incidentally, the cover is somewhat misleading: it also trumpets coverage of ActiveX, CORBA, and COM, but the material on them here is very thin - if you need to understand them, look elsewhere).

As a programming style guide, it is rather a mixed bag. Its main weakness is a tendency towards salesmanship - that is, the authors are trying to sell you something and are therefore quite aggressive in discussing the merits of their wares and tend to be silent when discussing the weaknesses of them. A particular problem I could point out is the use of C++ in DLLs. If you follow the style guide in this book, and try to put your code into DLL's, you will find that you have some very serious versioning problems, problems the advice in this book was instrumental in creating but useless in alleviating. This doesn't mean that the advice isn't generally good, but there are issues here that the authors are not as frank as they should be in discussing. (I don't know why propaganda of this sort is so common in C++ books, but it is. I've never seen one without it.)

Whatever it may be as a style guide, as a nuts and bolts problem solving book this is really very good. C++ is a large language - it is by far the largest, most complex language ever to find wide use, and there it contains many pitfalls. This book's great strength is in identifying many of these problem areas, and providing solutions to them. The discussion of object construction, copying, and destruction, alone, for example would make this book worth owning. The coverage is not, however, complete. Reader knowledge of language basics is assumed, and some advanced topics, such as multiple inheritance, are not covered. Because of this, you will not find this a good book for learning C++, nor should it be the only C++ book you own.

That said, of all the C++ books I own, this is the one that most often contained the easiest to find, clearest, and best answer to the problems that I actually had when using (as opposed to learning) the language. The answers were generally easiest to find because of the extensive table of contents (it averages about one entry per page) and very complete index. In addition to being easy to find, the answers were also clearly written. There is a lot of sample code in this book, and it is generally very good code for teaching its points. The authors also clearly understand their stuff, and I did not find any of the dreadful this-is-too-technical-for-the-reader hand-waving that so often mars computer industry books. Finally, in addition to being clearly written, the answers were also usually the most complete and thorough I found among the C++ books I own - the problems the book addressed, it addressed very well.

In summary, until and unless that great C++ book is ever written - and I'm not holding my breath - this is a book that almost any C++ developer would do well to have, limits and all.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Great used book!
It was a used book with around 50% price off from the new one. But its condition was great and I'm happy on buying this one.

Thanks,
Derek
Published 3 months ago by Q. Wang

2.0 out of 5 stars Worth supporting, but not owning
I bought this because I'm a big fan of the online C++ FAQ Lite by the same author, and I was hoping for answers to a few of my own recurring questions that weren't addressed... Read more
Published 20 months ago by James Bosch

5.0 out of 5 stars Timeless Wisdom on OO Programming and C++
I stumbled on this book while looking for something else in my home library, opened it, and couldn't put it down! Read more
Published on October 23, 2005 by uniq

1.0 out of 5 stars DON'T!! It was published in 1998!!
Summary: Don't buy it. Don't even read it. Get Sutter or Meyers instead, or see my other recommendations below. Read more
Published on September 24, 2005 by Dave O'Hearn

5.0 out of 5 stars Using the language: The pitfalls and the subtleties
This book teaches you what the authors and other people have discovered in a hard-won, time-consuming, hair-raising/pulling manner. Read more
Published on May 11, 2005 by Book Worm

2.0 out of 5 stars Redundant, and Littered with Some REALLY Bad Practices
I was suggested this book years ago by a university lecturer, however, even though I'm glad I read it, I'm glad simply so I can highlight its pitfalls to others I see reading it... Read more
Published on February 15, 2005 by Keefey

5.0 out of 5 stars excellent survey of C++ topics
This book covers an extensive variety of C++ programs in sufficient depth to be useful for a professional programmer. Read more
Published on January 27, 2004 by Zachary Mason

4.0 out of 5 stars For the Beginning C++ Programmer
I recommend this book who is learning C++. I went to it often looking for answers. This helps the beginner understand how C++ works and why. Very good book...
Published on October 21, 2002 by K. Woolhiser

5.0 out of 5 stars Essential book for C++ programmers
Don't even _think_ of writing C++ without reading this book first.

Yes it sometimes preaches ("arrays are evil") and clubs you over the head about the "one true way" of doing... Read more

Published on October 1, 2002 by Fungus

5.0 out of 5 stars "Opinionated," but good
I bought the book after reading the Lite version on the web. While an online version makes for better searching, this book's index is more than adequate. Read more
Published on November 28, 2001 by Joseph Sewell

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
Does anyone use Discovering Geometry: An Investigative Approach? 4 13 hours ago
Textbooks for Kindle DX? 38 15 hours ago
C# or Java? 32 7 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Up to 50% Off Hot Brands in Skin Care

Skin Care Sale
Get favorite name brands in skin care for face, body, and sun care, now up to 50% off at the skin care sale, only from Amazon Beauty.

Shop all skin care

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Don't Slip and Slide

Shop for De-Icing Products
Melt away snow and ice from your driveway this winter with de-icing products from the Home Improvement Store.

Shop all snow removal products

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates