我一直想知道是否可以使用qDebug()Qt C++中的语句收集用户输入.
qDebug()
我试过像std C++代码那样做:
qDebug() >> myvar;
但它不起作用.
如何阅读stdin使用Qt?
stdin
c++ qt qdebug
c++ ×1
qdebug ×1
qt ×1