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: Chris M. <lor...@gm...> - 2008-12-06 06:35:23
|
On Fri, Dec 5, 2008 at 8:30 AM, Derek Clarke <de...@ci...> wrote: > 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. structs are unable to have inheritance if I remember correctly. -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman | John 3:16! http://www.fsdev.net/ | http://lordsauron.wordpress.com/ |