摘要: 任何基类可以出现的地方,都可以用子类来替代。 下面摘录一个单链表的示例: #include <stdio.h> #include <stdlib.h> #include <string.h> struct node { struct node * next; }; struct list { str 阅读全文
posted @ 2020-04-08 14:04 god with us 阅读(241) 评论(0) 推荐(0) 编辑