Hello,
If I right click the mouse and type 'circle'/return then '10,10'/return then '15'/return,
the program does what is ecpected.
I'm running this code from a menu click and would like to send the data to the screen.
I'm not sure that 'fprintf' is the right call.
Any suggestions will be greatly appreciated.
If possible the code to run on Windows, Linux and Mac OS X (re-compiled).
Regards
Code:
fprintf(stdout, right mouse click);
fprintf(stdout, "%s\n", "circle");
fprintf(stdout, "%d%s%d\n", 10, ",", 10);
fprintf(stdout, "%d\n", 15);
fflush(stdout);