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?
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.
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
Here's another redirection
http://www.daniweb.com/forums/thread149849.html
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.