What I want to do
redirect stdout and stderr to one or more files from inside c++
Why I need it
I am using an external, pr
well i u'd better use freopen()
Usage Syntax:
freopen("RedToFile","r",stdout); or freopen("/dev/null","a",stdout);
the same goes for "stderr"