or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £0.25 Amazon.co.uk Gift Card
How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986?
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986? [Paperback]

Steve Oualline
4.0 out of 5 stars  See all reviews (1 customer review)
Price: £18.99 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want guaranteed delivery by Tuesday, February 14? Choose Express delivery at checkout. See Details
Trade In this Item for up to £0.25
Trade in How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986? for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Customers Who Bought This Item Also Bought


Product details

  • Paperback: 280 pages
  • Publisher: No Starch Press; 1 edition (8 April 2003)
  • Language English
  • ISBN-10: 1886411956
  • ISBN-13: 978-1886411951
  • Product Dimensions: 23.3 x 18 x 2 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 830,804 in Books (See Top 100 in Books)

More About the Author

Steve Oualline
Discover books, learn about writers, and more.

Visit Amazon's Steve Oualline Page

Product Description

Product Description

Find the bugs in these broken programs and become a better programmer. Based on real-world errors, the puzzles range from easy (one wrong character) to mind twisting (errors with multiple threads). Match your wits against the author's and polish your language skills as you try to fix broken programs. Clues help along the way, and answers are provided at the back of the book.


Inside This Book (Learn More)
First Sentence
In the beginning, there was the ENIAC Mark I. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

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

1 Review
5 star:    (0)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (1 customer review)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

1 of 1 people found the following review helpful:
4.0 out of 5 stars Good Test Of Your Coding Review Ability, 4 May 2003
By 
S. P. Templeton (UK) - See all my reviews
(REAL NAME)   
This review is from: How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986? (Paperback)
This book's a little unusual - the code is bust and you've got to say why. Some are obvious, many are subtle. You can also use it for interviewing to flush out the real ability of the candidate in front of you. For those wishing to create a C++ coding standard, the answers in the back are accompanied by useful 'avoidance' rules.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.6 out of 5 stars (14 customer reviews)

54 of 57 people found the following review helpful:
1.0 out of 5 stars Only for extreme novice C++ programmers, 5 April 2003
By A Customer - Published on Amazon.com
This review is from: How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986? (Paperback)
The concept of this book is good, but the execution is seriously lacking.

The "bugs" in Mr.Oualline's programs are the kinds of errors only the most unskilled novices would make: a missing space character in a format statement; accessing a 5-element array with index values of 1 thru 5; a class whose constructor allocates storage but whose destructor doesn't release the memory. Trivial, easy-to-spot errors that don't really expand anyone's grasp of C++.

To add insult to injury, large portions of the book are filled with Mr.Oualline's tiresome war stories and aphorisms.

A much better source of knowledge is "C++ Gotchas", any of Scott Meyers' books, or the "C++ FAQ".


14 of 15 people found the following review helpful:
5.0 out of 5 stars Just Plain Fun!!!, 31 Mar 2003
By Bradley Jones - Published on Amazon.com
This review is from: How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986? (Paperback)
Okay, maybe I should say, just plain fun in a geeky kind of way. This book is relatively inexpensive, thus making it well worth the price. If you programm in C++ (or even in C, C#, or Java), then you will most likely enjoy this book.

Unlike most computer books, this is not a book you read in order to learn how to to something. Rather, this is a book you read (1) to see if you already know how to do something, (2) if you like solving puzzles, (3) if you want to learn about a number of typical 'gotchas'.

This book presents listings (about 111+). Each seems to have something specifically wrong with it. You try to figure out the issue with a hint. You are can then get additional hints using a jump table. You are also given the answer as to what the gotcha is.

The book also contains a large number of trivia type information. This is folklore, funny stories, and more.

This is a book that I find myself picking up over and over to read just a little farther. It is fun. It is interesting. I'm even learning a thing or two. I've enjoyed it so much, I'll be writing a review on it for CodeGuru.com!

Congratulations to Steve Oualline on putting together one of the few fun-to-read computers books.


10 of 11 people found the following review helpful:
3.0 out of 5 stars unpolished, 9 May 2003
By David Minogue - Published on Amazon.com
This review is from: How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986? (Paperback)
This book illustrates several common errors that every C++ programmers will encounter. There is no substitute for learning from your own mistakes, but forewarned is forearmed. If you read this book before you make the mistakes, you will save yourself some time. The humor scattered through the book helps keep the subject light.

Unfortunately, the book is flawed beyond those bugs which were introduced intentionally. In one case a program was unintentionally corrected, leaving no errors to be found. Some of the programs seem unnecessarily long for the bug they are illustrating. Like most computer programs, this book would have benefitted from peer review prior to its release.

 Go to Amazon.com to see all 14 reviews  3.6 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges