天宫鹤

2022年11月12日

【Qt】警告Missing reference in range-for with non trivial type

摘要: Missing reference in range-for with non trivial type (QUrl) 警告 原始代码如下: for (auto url : urls) { QSharedPointer<QNetworkReply> reply(qnam.get(QNetworkRe 阅读全文

posted @ 2022-11-12 16:56 GoGrid 阅读(107) 评论(0) 推荐(0) 编辑

统计开始目录及其子目录下的指定类型文件中的单词(使用多线程、并发多线程(mappedReduced函数)进行速度对比)

摘要: #include <QList> #include <QMap> #include <QTextStream> #include <QString> #include <QStringList> #include <QDir> #include <QElapsedTimer> #include <Q 阅读全文

posted @ 2022-11-12 08:25 GoGrid 阅读(27) 评论(0) 推荐(0) 编辑

导航