摘要: QFile file("data.txt"); if (file.open(QIODevice::ReadOnly | QIODevice::Text)) { QTextStream in(&file); in.setCodec("UTF-8"); // 指定编码格式 QString line = 阅读全文
posted @ 2023-04-12 18:06 simp00 阅读(75) 评论(0) 推荐(0) 编辑