7.8 Debugging Strategies

  1. Hand tracing.

  2. Insert cout statements to check values of variables while the program is running.

  3. DevC++ debugger (built-in, not very friendly).