Compiling issues

So I've been working on a code at school and everything was going okay, but I came home and downloaded Dev-C++ (same one I downloaded at school) and when I try to compile it an error message pops up saying, "g++.exe has stopped working" and terminates the program. How do I fix this? Or if I cant fix it what other programs can I download that do the same thing?
I'm using Windows 8, by the way, and the school computers are Windows 7.
Topic archived. No new replies allowed.