apstring's constructor, destructor and the operator function
Code:
class istream & __cdecl operator>>(class istream &,class apstring &)
have no function bodys. That means, the compiler knows that the function exists because it's been declarared, but he didn't compile the implementation.
1. Check if you have those 3 functions implemented
2. Check if you have included the cpp file of apstring in you project (and campiled as well)
3. Check if they are named correcty (with all necessary namespaces, ect.)
example for declaration:
Code:
istream& operator>>(class istream&, class apstring&);
example for implementation:
Code:
istream& operator>>(class istream& in, class apstring& apstr)
{
// whatever apstring does
return in;
}
Btw, the { } braces + stuff within them is called the functions body (or, if they belong to a class, the class body).