Quote:
Originally posted by fla5do
Hello Gustavo,
thank you for post reply. I think I have not find the right words for my question.
I try it later with some examples for better understanding.
Thanks
Peter.F
|
I think you should use _popen() instead of system().
FILE *f;
char output[256];
f = _popen("answer.sc", "r");
if ( f != NULL) output = fgets(output, 256, f);
_pclose(f);