T
thomas
we can use
freopen ("myfile.txt","w",stdout);
to redirect stdout to a file.
Is there any similar function in c++ iostream?
freopen ("myfile.txt","w",stdout);
to redirect stdout to a file.
Is there any similar function in c++ iostream?