-----BEGIN PGP SIGNED MESSAGE-----
Fergal Moran writes:
>On Thu, 22 Jan 2004, Wesley Darlington wrote:
>>> On Thu, Jan 22, 2004 at 09:37:10AM +0000, Jason Corcoran wrote:
>> > ...the only difference was that the classes
>> > constructor is public.
>> > Surely there is more of a difference than this. Any Comments?
>>>> That's the only difference. :-)
>Not quite - a class can have a private constructor the difference is
>that in a class, members are private by default; in a struct they
Can you subclass a struct? I didn't think so.
Also another difference: classes are not supported in ANSI C ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Exmh CVS
-----END PGP SIGNATURE-----
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!