04 2021 档案

摘要:如果想要在C++程序中用vector传递一个大内存,用swap是比较快的方法,不过传递之后,原始数据就不存在了。 如果后续不再使用原数据,用swap会比较好。 #include <iostream> #include <ctime> #include <vector> using namespace 阅读全文
posted @ 2021-04-25 20:47 Dsp Tian 阅读(1528) 评论(0) 推荐(0) 编辑
摘要:Linux运行程序时报: ./Test2: error while loading shared libraries: lib***.so: cannot open shared object file: No such file or directory 一般遇见这个问题,直接ldd看一下依赖的s 阅读全文
posted @ 2021-04-20 19:42 Dsp Tian 阅读(417) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示