会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
管理
订阅
2017年4月9日
抄写例题作业
摘要: #include<stdio.h>#include<stdlib.h>main(){struct student{int num;char name[20];char sex;int age;float score;char addr[30]; }; } #include<stdio.h>#incl
阅读全文
posted @ 2017-04-09 16:44 牛人丶
阅读(206)
评论(0)
推荐(0)
2017年3月31日
第三次作业
摘要: #include int main() { int a[10]={0,1,2,3,4,5,6,7,8,9}; int *p=a; int fun(int *b); fun(a); } int fun(int *b) { int j; for(j=0;j<=9;j++) printf("%d ",*b+j); }
阅读全文
posted @ 2017-03-31 21:31 牛人丶
阅读(102)
评论(0)
推荐(0)
补充作业
摘要: #include int funstr(char str[]) {int i=0; str[0]='H'; str[6]='W'; while(str[i]!='\0') {printf("%c",str[i]); i++; } } int main() {char str[]="hello world"; printf("%s\n",str); funstr(str); return 0...
阅读全文
posted @ 2017-03-31 18:06 牛人丶
阅读(387)
评论(0)
推荐(0)
2017年3月22日
第二次作业
摘要: #include<stdio.h> main(){void swap(int*p1,int*p2);int a,b;int*c,*d;scanf("%d,%d",&a,&b);c=&a;d=&b;swap(c,d);printf("%d,%d\n",a,b); } void swap(int*p1,
阅读全文
posted @ 2017-03-22 16:56 牛人丶
阅读(106)
评论(0)
推荐(0)
2017年3月18日
第一次作业
摘要: #include<stdio.h>main(){int a[13]={1,2,3,4,5,6,7,8,9,10}; //定义数组 int *p; //定义指针变量 int i; //定义整形变量 p=a; //指针指向数组 for(i=0;i<10;i++) //循环输出数组的元素 printf("
阅读全文
posted @ 2017-03-18 20:58 牛人丶
阅读(74)
评论(0)
推荐(0)
随笔
摘要: 又是新的学期,c语言作为很基础而且很重要,所以我深深的清楚c语言的重要性,在新学期里我会认真上好没一堂课。新的c语言老师讲课和生动详细,新的学期,加油!
阅读全文
posted @ 2017-03-18 20:46 牛人丶
阅读(86)
评论(0)
推荐(0)