Hello, I have noticed that NppExec sometimes executes incorrectly. Take the following example (see image attachment). The program is designed to output a message, input a number then output that number.
Screenshots of the bug
You seem to have CSS turned off.
Please don't fill out this field.
This is a known issue. Refer to NppExec Manual, section 4.5: "no output may be shown until child process ends (if this child process performs a lot of operations without explicit flushing of its output)".
The solution: use fflush() explicitly after your output. I.e.:
printf("Enter a number: "); fflush(stdout);
Caused by "NppExec uses pipes to redirect child process'es output to NppExec's Console window" because of internal caching inside pipes that is out of NppExec's control.