C语言
xiaobaiso
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
看c专家的理解
#include<stdio.h> struct foo{long foo;}foo; void main() { char *p="abcdefg"; char at[]="edgjhk"; printf("%d\n",sizeof foo); //不用的写法代表不同的含义 printf("%c\n"...原创 2011-12-12 11:45:13 · 138 阅读 · 0 评论 -
c语言的编译过程
http://hi.baidu.com/wangsl1978/blog/item/89229516a59a0512c83d6d01.html 先感谢这篇文章 介绍了ld的库文件怎么引用的 代码如下 ----------------------- test.c----------------------------- #include<stdio.h> Void mia...原创 2011-12-15 09:29:26 · 137 阅读 · 0 评论 -
thrt
tryrtyrt原创 2011-12-20 23:32:59 · 283 阅读 · 0 评论 -
单片机
fgfgggggggg原创 2011-12-20 23:34:35 · 198 阅读 · 0 评论 -
c语言的几个问题 static
今天搞几个简单的C语言问题搞了好久。。。。都是一些好简单的。。。 先说一下 static 我做了个C语言的static的权限实验 代码如下: --------------------1.c------------------- #include <stdio.h> extern int n; void main() { ...原创 2011-12-09 07:59:11 · 192 阅读 · 0 评论 -
C语言代码的几个误区
有一些是c专家上看到的 #include<stdio.h> //函数的内部数组在返回该数组的时候 由于数组已经被销毁 返回的地址是错误 但编译不报错 需要使用全局数据来避免 char buffer[]={'x','b','\0'}; char * re() { int i=6; //char buffer[]={'x','...原创 2011-12-10 22:34:15 · 153 阅读 · 0 评论
分享