| delorie.com/archives/browse.cgi | search |
| Newsgroups: | comp.os.msdos.djgpp |
| From: | "Mike Ruskai" <thanny AT spambegone DOT home DOT com> |
| Message-ID: | <gunaalubzrpbz.f18xp20.pminews@news.avnl1.nj.home.com> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 981022130542 DOT 3460A-100000 AT is> <gunaalubzrpbz DOT f18t5tb DOT pminews AT news DOT avnl1 DOT nj DOT home DOT com> <Pine DOT HPP DOT 3 DOT 96L DOT 981022210249 DOT 6848A-100000 AT tw200 DOT eng DOT cam DOT ac DOT uk> |
| X-Newsreader: | PMINews 2.00.1201 For OS/2 |
| Organization: | TLF |
| MIME-Version: | 1.0 |
| Subject: | Re: Some questions, and some bugs (perhaps) |
| Lines: | 21 |
| Date: | Thu, 22 Oct 1998 20:46:14 GMT |
| NNTP-Posting-Host: | 24.3.130.120 |
| NNTP-Posting-Date: | Thu, 22 Oct 1998 13:46:14 PDT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
On Thu, 22 Oct 1998 21:05:22 +0100, D. Vrabel wrote:
>On Thu, 22 Oct 1998, Mike Ruskai wrote:
>> Something I forgot to mention is that the compiler had a problem with this
>> statement:
>>
>> enum BooleanConstants {false=0, true=1};
>>
>> Any ideas why? Works perfectly well with two other compilers.
>false and true are keywords in C++ (I asume your talking about C++). Use
>the bool type for boolean variables.
Since when? They aren't in the other two compilers, which is what makes the
above necessary.
--
- Mike
Remove 'spambegone' to send e-mail.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |