摘要: /*1.有一个单链表(不同结点的数据域值可能相同),其头指针为head,编写一个函数计算数据域为x的结点个数*/#include #include using namespace std;struct node{ int data; struct node *next; };struct no... 阅读全文
posted @ 2016-10-05 18:06 Lawliet__zmz 阅读(408) 评论(0) 推荐(0) 编辑