- 博客(2)
- 收藏
- 关注
原创 【自学】链表
主程序 #include <stdio.h> #include <string.h> #include <stdlib.h> //结构体定义 struct stud_node { int num; char name[20]; int score; struct stud_node * next; }; //函数声明 struct stud_node...
2020-02-12 12:25:17
252
原创 【总结】PTA习题9-4查找书籍 (20分)(有关scanf)
【总结】PTA习题9-4 9-4 在习题9-4中,明显要用struct结构去写。第一次写的代码如下: #include <stdio.h> struct BOOK{ char name[35]; double price; }; void sort(BOOK *p,int n); int main (void){ struct BOOK book[10]; int i,n;...
2020-02-01 21:25:39
1127
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人