Well you won't see anything unless you put some \n at the end of your printf statements, or call fflush(stdout) after every printf call.

stdout is buffered you see.