-
APstring
I have apstring.c and apstring.h, and I have the header files in struct where my name and profession is for my RPG that I'm making. But when I try to compile (no work with the apstring stuff yet), I get this error:
Code:
main.obj : error LNK2001: unresolved external symbol "public: __thiscall apstring::~apstring(void)" (??1apstring@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: __thiscall apstring::apstring(void)" (??0apstring@@QAE@XZ)
I've spent about 15-25 mins trying to fix this, and spent another 10 mins searching around....I would greatly appreciate any help that anyone can offer me.
-
Are the files included in the project?
-
No, there in the include folder *I'm also using VC++ 6.0*
-
The .cpp file must be included inside the project, or you can edit the apstring.h to #include the apstring.cpp, but that's pretty ugly and hackish :).