This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm reading Kernighan and Dennis Ritchie The C Programming Language. I've setup NetBeans 7.4 with latest MinGW (gcc.exe is v4.8.1) in win8.1 x64. This is a simple program of the book: #include <stdio.h> /* copy input to output; 2nd version */ main() { int c; while ((c = getchar()) != EOF) putchar(c); } The problem is that only the getchar() command works ok - the putchar doesn't display what I just typed. Just tried it in "Orwell Dev-Cpp 5.6.0 MinGW 4.8.1 Portable" and even "Dev-Cpp 5.6.0 TDM-GCC x64 4.8.1 Portable" and there it works as expected.
Also, the problem appears only with the default setting at:rightclick on my C project
^ (From my comment above only the 1st line was posted for some reason) Here it is again: Also, the problem appears only with the default setting at: rightclick on my C project>Properties>Run>Console Type>Internal Terminal. If I change it to "External Terminal" the problem no longer appears.
As I've read in https://netbeans.org/bugzilla/show_bug.cgi?id=213808 even with Cygwin(instead of MinGW), it also doesn't work well in local case. So, let's hope that it will be fixed in some future NetBeans version?
*** This bug has been marked as a duplicate of bug 225956 ***