摘要: 二分法查找(选择排序) 源程序: #include <stdio.h>#define MaxSize 8typedef struct{ int stuno; char stuname[20];}TableElem; TableElem stu[]={{1009,"wang"},{4400,"ren" 阅读全文
posted @ 2020-07-20 16:05 bobo哥 阅读(204) 评论(0) 推荐(0)
摘要: 顺序查找(通用算法) 源程序: #include <stdio.h>#define MaxSize 8typedef struct{ int stuno; char stuname[20];}TableElem; //基本分量结构体类型 TableElem stu[]={{1001,"zhang"} 阅读全文
posted @ 2020-07-20 15:47 bobo哥 阅读(146) 评论(0) 推荐(0)