How Not to Program in C++: 111 Broken Programs and 3 Working Ones, or Why Does 2+2=5986
Based on real-world code problems, approximately 100 puzzles challenge readers to find errors in sections of code up to 40 lines long.
| Table of Contents | |||
| Introduction | |||
| Part I | - | Programs | |
| Chapter 1 | - | In the Beginning | |
| Chapter 2 | - | Starting Out on the Wrong Foot | |
| Chapter 3 | - | One Character Wonders | |
| Chapter 4 | - | Everyday Problems | |
| Chapter 5 | - | C Code, C Code Break | |
| Chapter 6 | - | Premature Breakage | |
| Chapter 7 | - | Classes with No Class | |
| Chapter 8 | - | Expert Confusion | |
| Chapter 9 | - | Portage to Hell | |
| Chapter 10 | - | A Few Working Programs | |
| Chapter 11 | - | Threaded, Embedded — Dreaded | |
| Part II | - | Hints | |
| Part III | - | Answers | |
| List of Sidebars | |||