Code blocks crashes when I try to run

This has happend before, when I try to run a code it will say "blah.exe has stopped working" and I would have to change the code in some way to make it work. Does anyone know how I can fix this?
Last edited on
Fix what? You didn't show any code.

There can be many reasons for your code crashing.
The most common are:
Invalid pointer reference
Reference to an out of bounds array element

Topic archived. No new replies allowed.