How to change stdout back to default?

1

In case I change stdin and stdout to some specific .txt, but after changing I do not know how to make it return to the normal stdout (in this case the prompt), I change through freopen as in the example:

freopen (fileOutName, "w", stdout);

Can anyone tell me how to do the stdout back to the prompt?

    
asked by anonymous 10.02.2018 / 20:49

0 answers