M
Michael W. Hicks
Okay, this is really a C question, not a C++ one, but cut me a little slack
please.
Anyway, considering one redirects a standard stream with, say, the following
code:
FILE *fp = freopen( "test.txt", "w", stdout );
puts( "This is a test." );
How would one reset stdout such that it writes data to the console?
TIA,
Mike
please.
Anyway, considering one redirects a standard stream with, say, the following
code:
FILE *fp = freopen( "test.txt", "w", stdout );
puts( "This is a test." );
How would one reset stdout such that it writes data to the console?
TIA,
Mike