CS1302: 2026-01-22
DEBUGGING PRACTICE

Usual Preparation

  1. Open Qunicy (with code if you have some)
  2. Open rustpad.io/#CS1302
  3. And I'll attempt to get the Google Meet started before you call me!

Books on the Way:

    Two more copies of Freidman and Koffmann, though they could take a week or so.

    One copy of the reference C++ Primer (5th edition) by Lippman et al. (The copy behind me is the 4th edition.)

Show Me Some Work You've Done: Graphical Orbit Simulation

  1. Review your code.
  2. Calculating the position of a planet in Cartesian coordinates (i.e., "world" coordinates)
  3. Converting world coordinates to pixel coordinates
  4. The animation loop
  5. Adding double buffering
  6. How are you doing with finding and fixing compile-time errors?
  7. How are you doing with finding and fixing run-time errors?

Practice: Debugging Your Orbit Project