Qc.file problem

Can anyone help me write after i write the code in and i try to compile it with GUIStudio it always like says that GUI has stopped working and then nothing happens the file doesn’t get compiled and every time i do it, it say the program has stopped working !!!