Book 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.
Table of contents
- TABLE OF CONTENTS
- Introduction
-
PART I: PROGRAMS
- Chapter 1: In the Beginning (1/2)
- Chapter 1: In the Beginning (2/2)
- Chapter 2: Starting Out on the Wrong Foot (1/4)
- Chapter 2: Starting Out on the Wrong Foot (2/4)
- Chapter 2: Starting Out on the Wrong Foot (3/4)
- Chapter 2: Starting Out on the Wrong Foot (4/4)
- Chapter 3: One Character Wonders (1/3)
- Chapter 3: One Character Wonders (2/3)
- Chapter 3: One Character Wonders (3/3)
- Chapter 4: Everyday Problems (1/12)
- Chapter 4: Everyday Problems (2/12)
- Chapter 4: Everyday Problems (3/12)
- Chapter 4: Everyday Problems (4/12)
- Chapter 4: Everyday Problems (5/12)
- Chapter 4: Everyday Problems (6/12)
- Chapter 4: Everyday Problems (7/12)
- Chapter 4: Everyday Problems (8/12)
- Chapter 4: Everyday Problems (9/12)
- Chapter 4: Everyday Problems (10/12)
- Chapter 4: Everyday Problems (11/12)
- Chapter 4: Everyday Problems (12/12)
- Chapter 5: C Code, C Code Break (1/3)
- Chapter 5: C Code, C Code Break (2/3)
- Chapter 5: C Code, C Code Break (3/3)
- Chapter 6: Premature Breakage (1/2)
- Chapter 6: Premature Breakage (2/2)
- Chapter 7: Classes with No Class (1/9)
- Chapter 7: Classes with No Class (2/9)
- Chapter 7: Classes with No Class (3/9)
- Chapter 7: Classes with No Class (4/9)
- Chapter 7: Classes with No Class (5/9)
- Chapter 7: Classes with No Class (6/9)
- Chapter 7: Classes with No Class (7/9)
- Chapter 7: Classes with No Class (8/9)
- Chapter 7: Classes with No Class (9/9)
- Chapter 8: Expert Confusion
- Chapter 9: Portage to Hell (1/2)
- Chapter 9: Portage to Hell (2/2)
- Chapter 10: A Few Working Programs
- Chapter 11: Threaded, Embedded — Dreaded (1/4)
- Chapter 11: Threaded, Embedded — Dreaded (2/4)
- Chapter 11: Threaded, Embedded — Dreaded (3/4)
- Chapter 11: Threaded, Embedded — Dreaded (4/4)
- PART II: HINTS (1/6)
- PART II: HINTS (2/6)
- PART II: HINTS (3/6)
- PART II: HINTS (4/6)
- PART II: HINTS (5/6)
- PART II: HINTS (6/6)
- PART III: ANSWERS (1/11)
- PART III: ANSWERS (2/11)
- PART III: ANSWERS (3/11)
- PART III: ANSWERS (4/11)
- PART III: ANSWERS (5/11)
- PART III: ANSWERS (6/11)
- PART III: ANSWERS (7/11)
- PART III: ANSWERS (8/11)
- PART III: ANSWERS (9/11)
- PART III: ANSWERS (10/11)
- PART III: ANSWERS (11/11)
Product information
- Title: How Not to Program in C++
- Author(s):
- Release date: April 2003
- Publisher(s): No Starch Press
- ISBN: 9781886411951
You might also like
book
C++ for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners
Learn C++ the quick, easy, and “lazy” way. This book is an introductory programming text that …
book
Practical C++ Design: From Programming to Architecture
Go from competent C++ developer to skilled designer or architect using this book as your personal …
book
Data Parallel C++: Mastering DPC++ for Programming of Heterogeneous Systems using C++ and SYCL
Learn how to accelerate C++ programs using data parallelism. This open access book enables C++ programmers …
book
Advanced C++ Programming Cookbook
A recipe-based guide to refining your C++ programming skills with the help of coding best practices, …