📄 h9.h
字号:
#ifndef h9_h_#define h9_h_#include<iostream>using namespace std;typedef struct LNode{ struct LNode* next; struct LNode* prev; int data;}*LinkList,LNode;class List{private: LinkList HeadList; int LengthList;public: List(); List(const List& temp); ~List(); int SearchLNode(int i); //搜寻数据 bool InsertLNode(int i,int data_); //插入数据 bool DeleteLNode(int i); //删除数据 void ShowList(); int GetLengthList(); //连表长度 List& operator=(const List& temp); //各种重载 List operator+(const List& temp); List operator-(const List& temp); List& operator+=(List& temp); List& operator-=(const List& temp); friend ostream& operator<<(ostream& out,List& temp);};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -