How do I stop the console from automatically outputting all input?

If I run a simple program like this below in C It will output all my input to the console without me wanting to which is very annoying and confusing.

#include <stdio.h>

int main()
{
int c;
while ((c = getchar()) != EOF);
}
1

Hi!

It seems that we have a related issue in the tracker: https://youtrack.jetbrains.com/issue/CPP-2580. Please comment or upvote.

0

请先登录再写评论。