【QT】QT的学习:如何在QTcreator中使用printf并且在qt的应用输出界面中显示输出内容。

版权声明:禁止转载 https://blog.csdn.net/ipfpm/article/details/82979788

在某文件中:

#include <stdio.h>

printf("send coo printf %s\n", ip);
fflush(stdout);

就能显示。

猜你喜欢

转载自blog.csdn.net/ipfpm/article/details/82979788