04 2023 档案

摘要:1、 // condition_variable::notify_one #include <iostream> // std::cout #include <thread> // std::thread #include <mutex> // std::mutex, std::unique_loc 阅读全文
posted @ 2023-04-27 14:17 小丑_jk 阅读(25) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_41221411/article/details/127700546 阅读全文
posted @ 2023-04-25 17:59 小丑_jk 阅读(3) 评论(0) 推荐(0) 编辑
摘要:析构函数不是虚函数: #include <iostream> using namespace std; class Parent { public: Parent() { cout << "父类构造函数" << endl; } ~Parent() { cout << "父类析构函数" << endl 阅读全文
posted @ 2023-04-21 18:00 小丑_jk 阅读(10) 评论(0) 推荐(0) 编辑
摘要:1、 // future example #include <iostream> // std::cout #include <future> // std::async, std::future #include <chrono> // std::chrono::milliseconds // a 阅读全文
posted @ 2023-04-21 14:54 小丑_jk 阅读(105) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_51108920/article/details/126153395 阅读全文
posted @ 2023-04-19 11:40 小丑_jk 阅读(9) 评论(0) 推荐(0) 编辑
摘要:在编译的命令里面添加一条-D WITH_CUDA=OFF就行了。cmake -D CMAKE_BUILD_TYPE=Release -D WITH_CUDA=OFF -D CMAKE_INSTALL_PREFIX=/usr/local .. opencv4.4安装: cmake -D CMAKE_B 阅读全文
posted @ 2023-04-19 10:51 小丑_jk 阅读(12) 评论(0) 推荐(0) 编辑