Errors

What keeps your program from running correctly?
  1. Syntax errors
    incorrect C+ syntax (e.g. missing semicolon)

  2. Run-time errors
    the program compiles but stops running
    e.g. division by zero
    e.g. entering the wrong type of data

  3. Logic errors
    the program runs, but produces the wrong output
    e.g. area = base + height
    the hardest to detect