Hi,
I am having the output in stdout. how to redirect that to a new file through code ? While we run the program we can redirect like ./sample > test.txt. how to make this happen when executing the sample program itself ? (C programming)
Thanks, Vinod.