Answer
Our program probably tried to write somewhere that it shouldn't--such as in
some other user's area of memory. We're actually pretty lucky that we got an
error message when this happened. The worst thing that can happen is that your
subroutine mistakenly writes somewhere that it shouldn't, but the program
doesn't crash. Instead, the program just starts making mistakes. That's a
hard problem to find.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu