Here's a really good book with 111 non-working programs and 3 working ones. How Not to Program in C++ by Steve Oualline will give you buggy programs for you to figure out what is the mistake in the program. There're hints and answers and also some short snippets of stories or jokes to relieve your brain - which would be tired from trying to find the errors.
It's a book for those who want to sharpen their programming skills or tracing skills. This will help when debugging your own programs. Most errors are very minor, like punctuation marks or so but they can make such a great difference to the output and the speed of the program. Something to take note of, and a good book to read during spare time.
You can find it at Google books here:
http://books.google.com/books/about/How_not_to_program_in_C++.html?id=wgwE0dQ15xEC
Or if you want the pdf, but not so nice version, here it is: http://www.uml.org.cn/c++/pdf/HowNottoPrograinC%2B%2B.pdf
No comments:
Post a Comment