随笔分类 -  c++

摘要:#include <iostream>#include <vector>#include <string>using namespace std;using std::vector;int main(){ vector<string> arr; string str; vector<int> num 阅读全文
posted @ 2019-07-15 09:38 MoonXu 阅读(422) 评论(0) 推荐(0) 编辑
摘要:math.c使用c语言写的main.cpp是c++写的。 gcc -c math.c生成math.o ar -r librmath.a *.o//把math.o打包成静态库rmath.a g++ main.cpp -L./ -lrmath -L静态库路径 -l静态库名字 在math.h中加入exte 阅读全文
posted @ 2019-05-05 16:50 MoonXu 阅读(8385) 评论(0) 推荐(0) 编辑
摘要:DirectShowPlayerService::doRender: Unresolved error code 0x80040266 () 当你发布的qmlproject包含QtMultimedia模块时,运行在一个干净的系统上时,要注意,随时播放失败,因为QtMultimedia使用的系统默认的 阅读全文
posted @ 2019-04-29 15:19 MoonXu 阅读(2442) 评论(0) 推荐(0) 编辑
摘要:下载源码boost_1_70_0.zip 1.cmd进入boost源码包,运行bootstrap.bat生成bjam.exe 2.运行bjam.exe搞定 在visual studio配置 1. 项目属性>> C/C++ >> 常规 >> 附加包含目录 H:\software\programming 阅读全文
posted @ 2019-04-19 11:19 MoonXu 阅读(4878) 评论(0) 推荐(0) 编辑

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