Given the following function:
freopen(\"file.txt\",\"w\",stdout);
Redirects stdout into a file, how do I make it so stdout redirects back i
An alternate solution is:
freopen("CON","w",stdout);
Per wikipedia "CON" is a special keyword which refers to the console.