摘要: 以一元多项式加法运算为例: A,B可用线性链表可以表示为: “和多项式”链表如下(图中的长方框表示已经被释放的结点): #include <stdio.h> #include <stdlib.h> typedef struct Polyn{ int data; int index; struct P 阅读全文
posted @ 2016-02-03 21:24 我在这儿 阅读(4955) 评论(0) 推荐(2)
摘要: 参照:http://www.cnblogs.com/bluestorm/p/3167424.html getche()接收换行时会解析成‘\r’ #include <stdio.h> #include <stdlib.h> struct list{ char data; struct list *n 阅读全文
posted @ 2016-02-03 20:36 我在这儿 阅读(332) 评论(0) 推荐(0)