Reputation: 1
So, after running this code in Visual Code:
#include <stdio.h>
int main(){
printf("Hello!");
return 0;
}
I get this in my console: image What's up with all that added text?
Upvotes: 0
Views: 266
Reputation: 168913
Because you're running your program under Visual Studio Code's debugger, and for some reason it prints out a bit of job control trash on the console.
Maybe add a newline at the end of your print, to make your output clearer:
printf("Hello!\n");
Alternatively, don't run under the debugger (look for a "Run without debug" option).
Upvotes: 2