13 lines
231 B
C
13 lines
231 B
C
|
// list.h
|
||
|
|
||
|
class List {
|
||
|
public:
|
||
|
virtual int Insert(int val) {return 0;}
|
||
|
virtual int Search(int val) {return 0;}
|
||
|
virtual void Write(ostream &s) {;}
|
||
|
virtual int Empty(void) {return 0;}
|
||
|
};
|
||
|
|
||
|
//typedef List *ListPtr;
|
||
|
|