Answer

You probably got a message like

Segmentation Fault (core dumped)

at which point the program stopped in its tracks.

This message means that your program has tried to read from (or write into) a part of the computer's memory that doesn't ``belong'' to your program. If you ever get a message like this, it is likely that your program contains an array bounds problem.

Return to lesson.



Eric N. Eide
Hamlet Project
Department of Computer Science
University of Utah