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.
Product Version = NetBeans IDE 8.2 (Build 201609300101) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_111 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.111-b14 Reproducibility: Happens every time STEPS: Run code "#include <stdio.h> int a,b,res; int main(int ret1) { printf("Enter two digits:\n"); scanf("%d %d",&a,&b); res=a+b; printf("The result is:\n\t%d + %d = %d\n",a,b,res); return 0; } " ACTUAL: C console application. It doesn't display "Enter two digits:" in output until you fill next scanf() with "Debug" configuration, but works well with "Release". EXPECTED: First to see ""Enter two digits:" before entering data in "Debug" build.
Created attachment 163288 [details] IDE log
*** This bug has been marked as a duplicate of bug 165437 ***
Workaround: insert fflush(stdout) or use Cygwin