After I have redirected output to a file (james.txt)...
freopen("james.txt", "w", stdout);
after the prog has written what needs to be written to the file how do I direct
output back to the monitor?
Thanks
Teh Charleh
Enrico `Trippo' Porreca
Guest
Posts: n/a
12-07-2003
Teh Charleh wrote:
> After I have redirected output to a file (james.txt)...
>
> freopen("james.txt", "w", stdout);
>
> after the prog has written what needs to be written to the file how do I direct
> output back to the monitor?