Re: [AD] c++ test.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> That's as ugly as having C structs in UPPERCASE. Nothing more.
> I'd be curious to know why there would be a difference between
> the two :)

class MY_CLASS : public MY_PARENT {
   public:
   MY_CLASS();
   MY_CLASS(const MY_CLASS &);
   ~MY_CLASS;
};

MY_CLASS::MY_CLASS()
{
   ...
}

MY_CLASS::MY_CLASS(const MY_CLASS &)
{
   ..
}

MY_CLASS::~MY_CLASS()
{
}


You'd better keep the CapsLock on when writing the code!

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/