![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
Clound23
这个作者很懒,什么都没留下…
展开
-
关于extern的最新总结
最近看了些extern的用法,现做了一些总结如下。 1. 调用 .c 文件 中的全局变量和方法 // common.c #include <stdio.h> int num = 100; char *msg = NULL; void print(const char *msg) { printf("%s\n", msg); } // mai...2010-07-29 16:18:03 · 138 阅读 · 0 评论 -
win&linux 在同一个问题上的不同表现
我在写单链表的逆转时,遇到了一些很有意思的事情。 同样一段代码,在 win 和 linux 下是完全两种不同的结果。 #include <stdio.h> #include <stdlib.h> #include <string.h> ...2010-08-10 14:49:15 · 98 阅读 · 0 评论