On Tue, Mar 31, 2009 at 4:24 PM, 532 20 <[email protected]> wrote:
>
> kk but my class ExitListenerAA should not be an abstract class.. i dont
> derive any other classes from it and i dont have any virtual functions
> within the code itself so i should be able to call it?

Probably one (or more) of your base classes defines at least one pure
virtual function. In order to instantiate an inherited class you'll
need to define all pure virtual functions in your class.

A pure virtual function looks like this:

class SomeClass
{
public:
    int pureVirtualFunction (void) = 0;
}

It's very easy to identify them as they don't have a body and have a
'= 0' after them.
HTH

-- 
Tamas Marki

Reply via email to