This may be a trivial error that I'm not recognizing (just recently started using code blocks) but I can't seem to figure out why this C source file wont compile. I have other files which compile and run just fine so I don't know what the issue is. Very simple code:
When I press "Build and Run" nothing happens, when I press "run" it says "it seems that this file is not built yet, would you like to build now?". If I press yes, nothing happens. If I press no the console pops up and says returned 0 (0x0) execution time 0.000s with none of the printf's printed. What am I doing wrong? Thanks.Code://9-25-12 #include <stdio.h> #include <stdlib.h> int main () { int numPlayers; printf("How many players are playing?\n"); scanf("%d", &numPlayers); printf("%d players are playing", numPlayers); system("PAUSE'); return(0); }