问题描述
- 本人菜鸟,刚学qt,请各位大神指点
-
请问为什么这个没有输出呢?while (!stream.atEnd())
{
message +='n'+stream.readLine(); //逐行读取文本文件的数据
}qDebug()<<message;
时间: 2024-08-22 15:12:11
while (!stream.atEnd())
{
message +='n'+stream.readLine(); //逐行读取文本文件的数据
}
qDebug()<<message;