一些关于链表操作的代码
摘要:#include #include #include #define SIZE 10 struct node { int num; struct node *next; }; struct stud { char name[10]; int num; }sw[5],sr[5],*pw,*pr; void selectsort(int *); void b...
阅读全文
posted @
2017-03-18 00:31
lie隼
阅读(161)
推荐(0) 编辑
简单二叉树的建立和遍历
摘要:#include#include//定义节点typedef struct BiNode{ char data; struct BiNode *lch; struct BiNode *rch;}BiNode,*BiTree;//先序建立二叉树void Crea...
阅读全文
posted @
2017-03-13 13:47
lie隼
阅读(294)
推荐(0) 编辑