Hello, I'm working on a small project which would be taking the output of system command and putting them in a user given file. My first attemp I was using fstream for writing to the file. All it was writing was an integer dealing with the success of they system command. After researching Google, I found something that may work. Using popen I believe it is possible. I guess this isn't standard c++ code, so if anyone could elaborate on that or possibly give me an alternative to look into it would be greatly appriciated. So far all the attempts that I have tried with the popen did not work.
Thanks in advance,
charIie
Thanks in advance,
charIie