TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: JERRY COFFIN
date: 1997-04-27 14:56:00
subject: OOP

On (22 Apr 97) Cameron Clark wrote to Balog Pal...
 BP> So class {public:   ... } is the same as struct, and struct
 CC> {private: ... } is the same as class.
 CC>     Structs don't have auto executed constructors/destructors that are
 CC>     called all the way down/and up the inheritence chain, do they?
Yes, they do.
 CC>     Do struct have inheritence and polymophic capabilities?
 CC>     Late binding? etc. etc.
Yes.  As Balog said, the _only_ difference between `class' and `struct'
in C++ is that in a class, visibility defaults to private, while in a
struct, visibility defaults to public.  There is _no_ other difference
at all.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

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™.