
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 · 185 阅读 · 0 评论 -
win&linux 在同一个问题上的不同表现
我在写单链表的逆转时,遇到了一些很有意思的事情。 同样一段代码,在win和linux下是完全两种不同的结果。#include <stdio.h>#include <stdlib.h>#include <string.h>...2010-08-10 14:49:15 · 145 阅读 · 0 评论