2018年2月14日

链表插入排序 链表指针实现

摘要: #include#includetypedef struct node* link; //链接struct node{ int item; link next; };//节点int main(void){ struct node heada, headb; ... 阅读全文

posted @ 2018-02-14 17:57 MACHINE_001 阅读(121) 评论(0) 推荐(0) 编辑

循环链表范例(约瑟夫问题) 数组实现

摘要: #include#include#include #define CALLOC(P, N, S)\ if(!((P)=calloc(N, S))){\ printf( stderr, "Insufficient memory");\ exit(EXIT_FAILUR... 阅读全文

posted @ 2018-02-14 11:00 MACHINE_001 阅读(109) 评论(0) 推荐(0) 编辑

导航