13 lines
231 B
C++
Executable File
13 lines
231 B
C++
Executable File
// 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;
|
|
|