   wtf? initializer specified for non-virtual method?
  what does this meanObjMgr.h:34: error: initializer specified for non-virtual method `Obj* Obj::Create()''this is my class:class Obj{public:Obj* Create() = 0;protected:};i should be able to use Obj as an interface to return a pointer of type Obj? or is that my problem? i cant return a pointer because its abstract class? 
  you can't say = 0 after a function in a definiton unless it's a virtual function (the = 0 means "pure virtual function" which by definition must be virtual...):this will work:class Obj{public:    virtual Obj* Create() = 0;protected:};   though normally you don't call a create method unless it's a singleton class.  if it's not a singleton class just use a constructor:class Obj{public:    Obj();protected:};   -me [edited by - Palidine on February 7, 2004 12:20:20 AM];  ah thats it ;pwell im using factories thats why i have done this... 