Hi, I want to run a c++ program on unix using input and output redirection to make them read from the appropriate input file and to write the putput to the appropriate output file.
What commands do I type?
example:
Prog.cpp reads from data.dat and writes to a file.
do i write:
g++ prog.cpp -o...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.