Debugging

From ProgClub
Revision as of 07:58, 23 February 2022 by John (talk | contribs)
Jump to: navigation, search

Some questions to ask yourself when you're debugging a problem:

  • have you used an 'if' statement where you need a 'while', or vice versa?
  • have you made an assignment (=) instead of an expression (==)?
  • did you forget to call your parent's constructor?