06 2019 档案

摘要:1 /*通讯录排序*/ 2 #include 3 struct birthday { 4 int year,mooth,day; 5 }; 6 struct student { 7 int tel; 8 char name[20]; 9 struct birthday birth; 10 11 }; 12 13 int main(void) 14 {struct stude... 阅读全文
posted @ 2019-06-25 18:19 尹文萃 阅读(174) 评论(0) 推荐(0)
摘要:1 #include 2 struct birthday { 3 int year,mooth,day; 4 }; 5 struct student { 6 int tel; 7 char name[20]; 8 struct birthday birth; 9 10 }; 11 12 int main(void) 13 {struct student a[20]; 14... 阅读全文
posted @ 2019-06-25 18:15 尹文萃 阅读(121) 评论(0) 推荐(0)
摘要:1 /*拆分实数的整数与小数部分*/ 2 #include 3 void splitfloat(float x,int *intpart,float *fracpart); 4 int main(void) 5 { 6 int intpart; 7 float x,fracpart; 8 9 printf("input a number:"); 10 ... 阅读全文
posted @ 2019-06-19 19:49 尹文萃 阅读(147) 评论(0) 推荐(0)
摘要:心得: 熟悉了二维数组 阅读全文
posted @ 2019-06-11 21:45 尹文萃 阅读(72) 评论(0) 推荐(0)
摘要:心得: 通过本次编程对数组有了更进一步了解 阅读全文
posted @ 2019-06-10 21:14 尹文萃 阅读(176) 评论(0) 推荐(0)