BP> BLM> Classes are just like structs EXCEPT classes can contain code as
well
BP> BLM> as data.
BP>
BP> No except. structs can contain code the same way. The only difference
BP> between a struct and a class in C++ is the default attrubute, public for
BP> struct and private for class.
BP>
BP> So class {public: ... } is the same as struct, and struct {private: ...
}
BP> is the same as class.
Structs don't have auto executed constructors/destructors that are
called all the way down/and up the inheritence chain, do they?
Do struct have inheritence and polymophic capabilities?
Late binding? etc. etc.
I don't know jack about structs execept that their the C carry overs.
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)
|