C/C++
Thinker_WangCY
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
fopen出现bus error
在我的程序出现总线错误Bus error (core dumped),锁定其错误出现在如在代码中的fopen部分 void dipget(int icdp, int nti, float *dip, char * tanpath) { FILE * dfile; char *filename; printf("Choose %d from %s\n",icdp, tanpath); sprintf(filename, "%s%d.x.dat",tanpath, icdp); print原创 2021-10-13 18:58:10 · 407 阅读 · 0 评论 -
Madagascar调用c++出现“未定义的引用”
如果是.cpp文件,那么必须 #include<rsf.hh> 但是如果是.c文件,那么必须#include<rsf.h> 否则会出现报错“未定义的引用” 以及“跟着更多未定义的参考到”等情况! ...原创 2019-04-06 10:01:34 · 602 阅读 · 0 评论
分享