摘要: 下面的代码实现读取txt文档中的数据,并且是一行一行的读取。void MainWindow::on_pushButton_clicked(){ QFile file("abcd.txt"); if(! file.open(QIODevice::ReadOnly|QIODevice::Text)... 阅读全文
posted @ 2014-10-13 13:51 一般首席 阅读(7825) 评论(0) 推荐(0)