-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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. :-)
>>>> Wesley.
>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
>are public.
Can you subclass a struct? I didn't think so.
Also another difference: classes are not supported in ANSI C ;)
- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Exmh CVS
iD8DBQFAEAjfQTcbUG5Y7woRAm6pAKCNvGv867rwitq9MPjed8r4Win5UQCgguNk
47jSWLwzmGpBS3ZHyiGdM6E=
=OIwv
-----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!