![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
文章平均质量分 75
myserverthepeople
呵呵性格开放,喜欢交朋友
展开
-
C语言排序与查找实例
1、顺序查找 学号 姓名 成绩 1001 ANN 93 1002 LILY 95 1003 LUCY 98 1004 TOM 100 编写一上程序,要求输出1001编号同学的具体信息 #include "stdio.h" typedef struct student{ int id;//学原创 2012-05-12 22:34:13 · 2638 阅读 · 0 评论 -
C语言动态内存分配malloc/realloc/calloc
http://blog.sina.com.cn/s/blog_626872bd0100pytz.html原创 2012-10-20 11:44:24 · 685 阅读 · 0 评论 -
typedef的用法程序
第一个程序: #include typedef int abc;//为int 重新多取一个名字,abc等价于int struct Student { int sid; char name[100]; char sex; }; int main(void) { int i=0;//等价于abc i =10; abc j=20; printf("%d\n",j);原创 2012-10-21 10:44:31 · 662 阅读 · 0 评论