I have this simple code
#include #include #include using namespace std; int main(
If you really need have that on output, you can try with QTextSteam:
#include QTextStream cout(stdout); cout << "string\n"; QTextSteam cerr(stderr); cerr << "error!\n";