-   Programming (
-   -   redirection in C (

pantera 08-11-2004 08:03 AM

redirection in C
how to redirect the output of a print statement in C to a file
printf("hi there") to file1
is there any other way??

worldmagic 08-11-2004 08:10 AM

School assignments should read fprintf and fopen.

infamous41md 08-11-2004 01:06 PM

and check out dup2() as well.

All times are GMT -5. The time now is 01:30 PM.