hi,
i have implemented a base class and a derived class as follows base : beziertriangle .h and beziertriangle .cpp derived: PNpatch.h and PNpatch.cpp
when i compile them it works out fine , but when i create an instance of the derived class in its main function, it gives my a linker error of the form
(i'm using the borland complier)
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland PNpatch.cpp:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'beziertriangle::~beziertriangle' referenced from C:\CPLUS\PNPATCH.OBJ
Error: Unresolved external 'beziertriangle::beziertriangle' referenced from C:\CPLUS\PNPATCH.OBJ i'm not really sure what the problem is...
thanks
vivek
i have implemented a base class and a derived class as follows base : beziertriangle .h and beziertriangle .cpp derived: PNpatch.h and PNpatch.cpp
when i compile them it works out fine , but when i create an instance of the derived class in its main function, it gives my a linker error of the form
(i'm using the borland complier)
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland PNpatch.cpp:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'beziertriangle::~beziertriangle' referenced from C:\CPLUS\PNPATCH.OBJ
Error: Unresolved external 'beziertriangle::beziertriangle' referenced from C:\CPLUS\PNPATCH.OBJ i'm not really sure what the problem is...
thanks
vivek