G
Gerrit Hulleman
Is it possible to redirect the standard input for an external application?
Something like:
ifstream in (...);
std::streambufx oldbuf = cin.rdbuf(in.rdbuf());
system(...);
cin.rdbuf(oldbuf);
The proces must run another program where the input for this external
program is allready present in memory of the original proces.
Gerrit
Something like:
ifstream in (...);
std::streambufx oldbuf = cin.rdbuf(in.rdbuf());
system(...);
cin.rdbuf(oldbuf);
The proces must run another program where the input for this external
program is allready present in memory of the original proces.
Gerrit