Hi, I'm trying to use command line stuff with C++. I've read that you do it with System(); Is that the best way?
My main question however, is how do you read in the results from the command? I think I can do 'thecommand > file' to output the results to a file, and then read from the file with C++, but I want to know if there is a easier way I can get the results directly without going through that middle file.
Thanks