
C
三叶不是草
如果对它还有一点乐趣,就坚持下去。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【C学习-踩坑记录】编译器报错:Implicit declaration of function 'func1' is invalid in C99
编译错误 #include <stdio.h> #include <stdlib.h> #include "he.h" static int COUNT = 10; int main() { printf("-----\n"); while (COUNT > 0) { func1(); // **此处方法调用会报 Implicit ...原创 2019-03-14 13:05:02 · 1021 阅读 · 0 评论 -
【C学习-踩坑记录】使用strcat();函数后,程序后边的代码不执行
错误代码 #include <stdio.h> #include <memory.h> int main(void) { char arr1[] = "hello"; char arr2[] = "world"; printf("---------\n"); strcat(arr1, arr2); // **以下代码不会执行**...原创 2019-03-15 11:05:55 · 681 阅读 · 0 评论