On 01/12/2007, Michael Sullivan <[EMAIL PROTECTED]> wrote:
> I have classes Ally and Enemy, both subclassed from Character.  How
> can I use Character's constructor from inside the constructor's of
> Enemy and Ally?  Something similar to super() in Java, but I don't
> know the syntax...
>

class Base
{
   public:
      Base() { /* */ };
};

class Derived : public Base
{
   public:
      Derived() : Base() { /* */  };
};

cod

Reply via email to