📄 list.h
字号:
/* $Id: List.h,v 1.2 1997/02/02 01:31:03 matt Exp $ Generic Lists. (c) Sep 17th 1994 Matt Phillips. */#ifndef _LISTS_H#define _LISTS_H#include <iostream.h>#include "Container.h"#include "Data.h"///////////////////// Listtemplate <class T>class List : public Container<T>{ friend class ListIter<T>; virtual const char *name () const {return "List";} virtual void add (T &i) = 0;};template <class T> class ListIter : public ContainerIter<T>{};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -