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 data.dat
What commands do I type?
example:
Prog.cpp reads from data.dat and writes to a file.
do i write:
g++ prog.cpp -o data.dat