rendered paste body#include <string>
using namespace std;
typedef int Item;
class OrderedListBase // Changed name
{
public:
// Get info about list
virtual bool IsEmpty( ) const = 0;
/*virtual int Count( ) const = 0;
Item Get( int index ) const = 0;
int Find( Item item ) const = 0;
string ToString( ) const = 0;
// Change the list
bool Clear( ) = 0;
bool Insert( Item item ) = 0; // Changed
bool Delete( Item item ) = 0; // Changed
*/
};
class OrderedArrayList: OrderedListBase
{
private:
int count;
public:
bool IsEmpty() {
count = 0;
// return true;
}
};
int main ()
{
// OrderedListBase base;
OrderedArrayList list;
return 0;
}