Expand|Select|Wrap|Line Numbers
- ///////////////
- // mstring.h //
- ///////////////
- #include <string>
- class MSTRING : public std::string
- {
- public:
- MSTRING();
- MSTRING(std::string copyfrom);
- MSTRING(char* charpos);
- MSTRING (unsigned long i, int base = 10);
- bool contains(MSTRING txt);
- MSTRING ucase();
- MSTRING lcase();
- MSTRING subst(MSTRING f, MSTRING r);
- };
- /////////////
- // ERRORS: //
- /////////////
- main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall MSTRING::contains(class MSTRING)" (?contains@MSTRING@@QAE_NV1@@Z) referenced in function "bool __cdecl testfilter(class MSTRING)" (?testfilter@@YA_NVMSTRING@@@Z)
- main.obj : error LNK2019: unresolved external symbol "public: __thiscall MSTRING::MSTRING(char *)" (??0MSTRING@@QAE@PAD@Z) referenced in function "void __cdecl out_memstring(char *)" (?out_memstring@@YAXPAD@Z)
- main.obj : error LNK2019: unresolved external symbol "public: __thiscall MSTRING::MSTRING(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0MSTRING@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class MSTRING __cdecl get_windowinfo(struct HWND__ *,int)" (?get_windowinfo@@YA?AVMSTRING@@PAUHWND__@@H@Z)
- main.obj : error LNK2019: unresolved external symbol "public: class MSTRING __thiscall MSTRING::lcase(void)" (?lcase@MSTRING@@QAE?AV1@XZ) referenced in function "void __cdecl autofinds(void)" (?autofinds@@YAXXZ)
- main.obj : error LNK2019: unresolved external symbol "public: __thiscall MSTRING::MSTRING(void)" (??0MSTRING@@QAE@XZ) referenced in function "void __cdecl autofinds(void)" (?autofinds@@YAXXZ)
- main.obj : error LNK2019: unresolved external symbol "public: __thiscall MSTRING::MSTRING(unsigned long,int)" (??0MSTRING@@QAE@KH@Z) referenced in function "void __cdecl out_windowinfo(struct HWND__ *)" (?out_windowinfo@@YAXPAUHWND__@@@Z)
- main.obj : error LNK2019: unresolved external symbol "public: class MSTRING __thiscall MSTRING::subst(class MSTRING,class MSTRING)" (?subst@MSTRING@@QAE?AV1@V1@0@Z) referenced in function _main