Community
Participate
Working Groups
Build Identifier: 20100218-1602 I'm running on a fresh installation of eclipse. I have a project I'm working on.. a simple fill in the code homework assingment. Well its simple until nothing prints to concole. I have tested the issue and only appears if there is a scanf anywhere. Example. #include <stdio.h> #include <stdlib.h> int main(void) { printf("!!!Hello World!!!"); /* prints !!!Hello World!!! */ int test; scanf("%d", &test); printf("%d",test); return 0; } OUTPUT (blank) >>1 !!!Hello World!!! 1 Should be !!!Hello World!!! >>1 1 I'm running windows 7, using minGW. Reproducible: Always Steps to Reproduce: 1.blank project 2.add a scanf 3.run
fflush(stdout); fixes some of it... but it will not print in my functions..
See bug 173732 for workarounds. *** This bug has been marked as a duplicate of bug 173732 ***