C++
文章平均质量分 68
Draw_1999
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
error:requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
问题: 在编译armv7项目过程中,报错error:requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC;解决方案: 更改cmakelist.txt脚本,将set(CMAKE_C_FLAGS)与set(CMAKE_CXX_FLAGS)分别添加编译选项 -fPIC...原创 2020-08-24 19:24:02 · 1892 阅读 · 0 评论 -
VS2015 下载地址
转自:https://blog.youkuaiyun.com/youshijian99/article/details/80163739VS2015 专业版下载链接http://download.microsoft.com/download/B/8/9/B898E46E-CBAE-4045-A8E2-2D33DD36F3C4/vs2015.pro_chs.isoVS2015 企业版下载链http...转载 2019-07-08 13:01:03 · 3484 阅读 · 0 评论 -
C/C++,字符串、字符数组,字符指针的转换及相关输出
字符串string a,字符数组char b[10],字符指针char * c;转换:string a =string(b)string a(c)1.1)a=b[10]; 字符串与数组1.2)strcpy(b,a.c_str());char *c= char b[10]; 数组与字符串;指针与字符数组,=指针与字符串1.3)length=a.copy(b,9);b[le...原创 2019-08-24 20:22:45 · 1964 阅读 · 0 评论 -
c++创建文件夹
创建文件夹:1.include <windows.h>string path="./xx/xxx.txt"FILE fp=fopen(path.c_str(),"r");if (fp=NULL){ _mkdir(path.c_str())}2.采用system,即调用dos命令system("md ./xx/xxx.txt");其中这个字符串可以用...原创 2019-08-24 20:42:10 · 724 阅读 · 0 评论
分享