实验:
建立一个单链表类,并完成基本操作的实现,同时进行验证。
在main函数里并没有进行填充 读者可根据要求自行填充
#include <iostream>
using namespace std;
struct Node {
int data;
Node *next;
};
class list1 {
private:
Node
实验:
建立一个单链表类,并完成基本操作的实现,同时进行验证。
在main函数里并没有进行填充 读者可根据要求自行填充
#include <iostream>
using namespace std;
struct Node {
int data;
Node *next;
};
class list1 {
private:
Node