| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:2768 |
| From: | elric AT wheel DOT ucdavis DOT edu (Jeffrey Taylor) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Enum Definitions |
| Date: | 16 Apr 1996 00:32:40 GMT |
| Organization: | Davis Community Network - Davis, California, USA |
| Lines: | 15 |
| Message-ID: | <4kupr8$dag@mark.ucdavis.edu> |
| References: | <1996Apr15 DOT 215610 DOT 13409 AT pmafire DOT inel DOT gov> |
| NNTP-Posting-Host: | wheel.dcn.davis.ca.us |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Kurt Fielding (kurt AT pmafire DOT inel DOT gov) wrote:
: I'm having trouble defining enum types in v2 of djgpp. The following
: statement will not work:
: enum Boolean { false, true };
: I get the message: ... parse error before `false'.
bool is defined in V2, along with false and true. THey are reserved words.
--
============================================
Without my guitar, I am a poet without arms.
- Michael Bloomfield
============================================
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |