// mstring.h: interface for the mstring class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_MSTRING_H__77C7C3E5_3536_4F7B_AF7E_1CE1FF182E8E__INCLUDED_) #define AFX_MSTRING_H__77C7C3E5_3536_4F7B_AF7E_1CE1FF182E8E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class mstring { public: char data[2000]; mstring(void); mstring(char *); public: ~mstring(void); mstring operator+( mstring ); mstring operator+( char * ); mstring operator=( mstring ); mstring operator=( char * ); mstring mid( int,int ); mstring edge( int,int ); int operator[]( mstring ); int operator[]( char * ); bool operator==( mstring ); bool operator==( char * ); int length(); private: //bool done_memory; void set_memory(int a); void remove_memory(); }; #endif // !defined(AFX_MSTRING_H__77C7C3E5_3536_4F7B_AF7E_1CE1FF182E8E__INCLUDED_)