TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BALOG PAL
from: CAMERON CLARK
date: 1997-04-22 22:05:00
subject: Re: OOP

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.