:iagree:What Pravit points out here is most likely to be the case. When using Bloodshed compiler, you need a pause line at the end of the main function, preceding the return statement. Simple solution would be to add
system("PAUSE"); This one, however, is Windows-specific. Instead, I prefer to...