⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intlist.h~

📁 hashtree算发
💻 H~
字号:
#define NULL 0// A node of a linked liststruct listnode {  int item;  listnode* next;};// Integer linked listclass IntList {public:  IntList();  IntList(const IntList& il);  ~IntList();  void prepend(int n);  void append(int n);  void insertSorted(int n);  void remove(int n);  listnode* locate(int n);  void copy(const IntList& il);  void clear();  bool isEmpty() { return (head==NULL); }  bool compare_k_1(const IntList& il);  bool exist(int n);  listnode* get_head() const { return head; }  int get_len() const { return len; }  void show() const;  int operator[] (int i) const;  bool operator== (const IntList& il) const;private:  listnode* head;    int len;};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -