qDebug and cout don't work

后端 未结 2 1181
我寻月下人不归
我寻月下人不归 2021-01-20 02:11

I have this simple code

#include 
#include 
#include 
using namespace std;

int main(         


        
2条回答
  •  不要未来只要你来
    2021-01-20 03:11

    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";
    

提交回复
热议问题