R
rg.iitk
Hi,
I need a way to write the output on the console to a file,
for ex:
if I need to list dir I use the command
system("ls");
the list of dirs and files are printed on the console, now I need to
store this in a file. How to do this? I need to store output that come
from using system() commands.
Plz help.
TIA
Rohit
I need a way to write the output on the console to a file,
for ex:
if I need to list dir I use the command
system("ls");
the list of dirs and files are printed on the console, now I need to
store this in a file. How to do this? I need to store output that come
from using system() commands.
Plz help.
TIA
Rohit