C++
HawaiiHello
THIS IS BIG MISTAKE
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++ STL Map按照value排序
好像也没有更好的方法了,只能将map转成vector<pair>再进行排序原创 2021-04-04 13:01:46 · 351 阅读 · 0 评论 -
g++ is not recognized as an internal or external command解决方法,初用MinGW碰到的坑
之前一直用Qt或者CodeBlocks上带的MinGW,这次自己装了一个,碰到一堆问题。 一 在用g++编译的时候报错: stddef.h: No such file or directory stdarg.h: No such file or directory 按照报错路径寻找,确实没有这两个文件,不过用everything查找一下其实是有的,只不过在别的路径下,应该就是路径错误,因为只有两个文件,所以就直接复制粘贴进去了。 二 \MinGW\bin\..\lib\gcc\mingw32\3.4.5\.原创 2020-06-15 02:12:29 · 8437 阅读 · 0 评论 -
Keil5报错:error: more than one instance overload function “xx“ has C linkage
用Keil编写C、C++混编程序碰到了这个问题 #ifdef __cplusplus extern "C"{ #endif /*__cplusplus*/ //overload void foo(int ,int ); void foo(float ); #ifdef __cplusplus } #endif /*__cplusplus*/ 编译之后报错: more than one ins...原创 2020-02-22 02:26:37 · 2388 阅读 · 0 评论
分享