// we only want this stuff if stdstuff has not previously been included // (i.e. if "stdstuff_included" has not been defined) #ifndef stdstuff_included #define stdstuff_included // Header file for Visual C++ 6.0 environment without "pause". #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define clearScreen() system("cls") #define pause() // dummy out pause function class String2002 : public string { public: String2002():string() {} // These are needed for operator=, + String2002(int i, char c):string(i,c) {} // constructor String2002(const char c):string(1,c) {} // constructor String2002(char bb[]):string(bb) {} // These are needed for operator=, + String2002(char bb[], int start, int slength):string(bb, start, slength) {} String2002(const string &rhs):string(rhs) {} // Copy Constructor needed by operator+ bool isEqualCaseInsensitive(const string &otherString) const { string s1 = (string) *this; string s2 = (string) otherString; return (stricmp(s1.c_str(), s2.c_str())==0); } }; #endif