From: sparhawk AT eunet DOT at (Gerhard Gruber) Newsgroups: comp.os.msdos.djgpp Subject: Re: enum problem Date: Tue, 16 Jun 1998 21:32:49 GMT Organization: Customer of EUnet Austria Lines: 23 Message-ID: <358edb0c.3952806@news.Austria.EU.net> References: NNTP-Posting-Host: e190.dynamic.vienna.at.eu.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Destination: Eli Zaretskii From: Gruber Gerhard Group: comp.os.msdos.djgpp Date: Mon, 15 Jun 1998 20:12:08 +0300 (IDT): >C++ is a different language, not a superset of C. (See section 8.3 of the >FAQ for a somewhat funny demonstration of this.) I don't know enough >about C++ to tell whether enum handling is one of the cases where the two >languages diverge. Not really. C++ is more stricter about this but I think that this is ok because if you define an enum than you want names for your values and since you didn't provide it this is an error. But I guess this is mostly opinion and open to discussion. -- Bye, Gerhard email: sparhawk AT eunet DOT at g DOT gruber AT sis DOT co DOT at Spelling corrections are appreciated.