It has already been stated in this thread that stdout is not a file, it is a stream. If you want to redirect stdout to a file then just do:Quote:
ok so no one here knows how to copy the stdout file... thanxxx
If you are trying to do something else, then explain your question better.Code:freopen ("myfile.txt","w",stdout);
