| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| From: | cwebb AT ctos DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: try, throw, and catch -- is this a bug? |
| Date: | Wed, 31 Mar 1999 20:17:39 GMT |
| Message-ID: | <3702828c.726382@news.weldlink.com> |
| References: | <370121EB DOT 33506B4E AT jps DOT net> <922852481 DOT 604485 AT neptune DOT uniserve DOT ca> <7dsp3a$cds$1 AT nnrp1 DOT dejanews DOT com> |
| X-Newsreader: | Forte Free Agent 1.11/32.235 |
| Lines: | 13 |
| NNTP-Posting-Host: | 204.144.249.2 |
| X-Trace: | 31 Mar 1999 13:21:23 -0700, 204.144.249.2 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
On Wed, 31 Mar 1999 09:15:30 GMT, Willem D <wduminy AT my-dejanews DOT com> wrote: >Hi DarkSun, The difference between a class and a struct is nada! Although, I >agree fully with you - and use the class keyword in these instances - it >seems to be a matter of preference. Maybe someone knows what the ANSI C++ >standard specifies -- can a struct have functions according the the standard? IIRC, the only practical difference between a struct and a class in ANSI C++ is that the members/methods of a struct are public access by default; the members/methods of a class are private access by default. -Christopher Webb
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |