View Single Post
Old May 26th, 2006, 8:33 AM   #7
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,253
Rep Power: 5 grumpy will become famous soon enough
Dawei's nailed it. The reason is that you declared the function as virtual but you did not (despite what you said in the original post) declare it as pure virtual (the "=0" on the end of a declaration of a virtual function achieves that).

For reference, the error message you received is from the linker. The function as your declared it is not pure virtual, so an implementation of it is needed.
grumpy is offline   Reply With Quote