Hi, Benjamin L Mcgee!
On 11 Apr 97 01:26:00 you wrote to Kevin Sheetz
BLM> Classes are just like structs EXCEPT classes can contain code as well
BLM> as data.
No except. structs can contain code the same way. The only difference
between a struct and a class in C++ is the default attrubute, public for
struct and private for class.
So class {public: ... } is the same as struct, and struct {private: ... }
is the same as class.
Paul
... Answers: $1, Short: $5, Correct: $25, dumb looks are still free
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)
|