lundi 23 mars 2015

Reading gcc output in a string

If we execute gcc to compile a source file through the system() function, how can I capture the gcc output in a string ?




I tried with popen which works as long as it reads something like "PAUSE", but did not work with gcc.


Aucun commentaire:

Enregistrer un commentaire