PDA

View Full Version : Can I read output of a single with the help of Mingw Compiler?



parulkalra14
4th February 2014, 09:13
I am able to read entire program output with the help of Mingw Compiler but is it possible to read the line by line output of a program with help of same compiler?

ChrisW67
4th February 2014, 10:03
The C++ compiler is for producing executable objects from source code. It has nothing to do with producing or reading the output of that executable object when it is run.

If you run a program with QProcess, as you have been told to do repeatedly over numerous threads, you can read the output of that program in any way you can like: byte by byte, line by line, all at once...