Hello all. I am writing a program to be a sort of gcc/g++ frontend. OF course, to do this, i need to be able to run gcc and/or g++. I also need to be able to capture the output and the return value of it, so i can determine whether i have to show the user the errors, or whether it exited ok.
I don't know of any ways to capture the output, thats why I am asking, but i was thinking this: I could have it > to a file, and then read tha, if all else fails... Tell me what you think, if the other isn't a possibility. Thanks in advance.
~Inquirer