Re: [Dev-C++] What are the differences between a struct and a class?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: a.geo <aqu...@gm...> - 2008-12-05 17:07:39
|
This right, the difference is on the logic,... A struct is a organized data collection... a class is a definition of a live-object, with attributes and activities (methods). 2008/12/5 Derek Clarke <de...@ci...> > In C++ the only difference between a struct and a class is that in a > class the default access is private whereas in a struct it is public. > in all other aspects they are the same. > -- -------------------------------------------------------- VISIT MY BLOG : http://ageo.blogspot.com/ picture blog : http://ageo.deviantart.com/journal/ |