printf(“foo bar\n”);
is what you are looking for. You need to end with \n so the stream is flushed, otherwise the output data stream will be buffered.
printf(“foo bar\n”);
is what you are looking for. You need to end with \n so the stream is flushed, otherwise the output data stream will be buffered.