-   Programming (
-   -   redirection in C (

pantera 08-11-2004 09: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 09:10 AM

School assignments should read fprintf and fopen.

infamous41md 08-11-2004 02:06 PM

and check out dup2() as well.

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