#ifndef TEST_H #define TEST_H #include #include using std::ostream; using std::istream; using std::endl; /* CTest is an example of the minimum requriements for a class that is to be used with CSortedList. The member variable m_x is not required, it should be replaces with the approprate mebers for a given class. All of the member/friend functions listed are requried. */ class CTest { friend ostream& operator<<( ostream& output, const CTest& Item); friend istream& operator>>( istream& input, CTest& Item); public: CTest(); CTest(const CTest& Test); bool operator==(const CTest& Test) const; bool operator==(const int x) const; bool operator>(const CTest& Test) const; bool operator<(const CTest& Test) const; private: int m_x; }; #endif