i need to get a printout of a c program running using dos-redirection. Does anyone know how i can redirect the output to a textfile so i can print it?
Printable View
i need to get a printout of a c program running using dos-redirection. Does anyone know how i can redirect the output to a textfile so i can print it?
> is the redirection operator (so "programname >output.txt" is probably what you want). What this has to do with C programming, I don't know.
Here's another redirection
http://www.daniweb.com/forums/thread149849.html