How I can reverse the redirection of stdout & stderr ?
I used freopen() to redirect the stdout & stderr and all is OK.
But when i was to reverse these two action all are bad (I used for that the next code:
int ElementTest::reverseStd(FILE *top, FILE *fromp)
{
static char Name[] =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.