1
In case I change the stdin and stdout for some . specific txt, however after changing do not know how to make it return to the normal stdout(in case the prompt), I change through the freopen as in the example:
freopen (fileOutName, "w", stdout);
Can anyone tell me how to get stdout back to the prompt?
I don’t know what you read in English, but take a look at this text. In it you will see that it is not recommended the use of freopen.
– Zapello
Jeez, that’s my question when you ask for ;P
– Nefisto