I have a C++ console application that returns some kind of things, then, I need to show that in a browser. So I tried to write every console.write from C++ to a .txt file for future PHP reading, but no success because it doesn't write the errors!
Then I tried to use exec('program.exe', $output); at PHP but no success too.. :/
- Is there another way to do that?
- Or any function in C++ that writes to a
.txtevery single thing that shows up in the console? - Or some function in another Programming Language that catches everything in the console?