delorie.com/archives/browse.cgi | search |
From: | iam AT not DOT you (Ken Power) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: classes |
Message-ID: | <38edfb0e.12430278@news.mysolution.com> |
References: | <eeLF4.13555$K9 DOT 107792 AT typhoon DOT nyroc DOT rr DOT com> <v7umesob3dvcog3a0nhe9e8h4trging7v5 AT 4ax DOT com> <38eda615 DOT 11483373 AT news DOT mysolution DOT com> <200004061957 DOT PAA14708 AT envy DOT delorie DOT com> |
X-Newsreader: | Forte Agent 1.5/32.451 |
MIME-Version: | 1.0 |
Lines: | 22 |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
X-Complaints-To: | support AT usenetserver DOT com |
NNTP-Posting-Date: | Fri, 07 Apr 2000 11:18:40 EDT |
Organization: | WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. |
Date: | Fri, 07 Apr 2000 15:14:46 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Thu, 6 Apr 2000 15:57:51 -0400, in comp.os.msdos.djgpp, DJ Delorie <dj AT delorie DOT com> managed to squeak: > >> Similar yes, but with 'added' features. AFAICR, structs, in the c++ >> standard, do not support private, public, or protected features that >> classes do. In other words: > >Wrong. "struct" and "class" are *identical* except for the default >protection. There are no other differences between structs and >classes. Even the parser doesn't treat them differently. > >I often ask about this in interviews to see if the candidate really >understands structs and classes in C++. Most don't. Ha, guess I should compare my memory versus hard fact :) Goo thing I'm still in the learning stage, else I might be in worse trouble. Thanks everyone for clearing my own understanding. KP -------------------------------- Ken Power uncle_wiggly at bigfoot dot com --------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |