| delorie.com/archives/browse.cgi | search |
| Message-ID: | <351D92F7.ECC86B3D@sprynet.com> |
| Date: | Sat, 28 Mar 1998 16:16:55 -0800 |
| From: | Ishpeck <aTedjamulia AT sprynet DOT com> |
| Organization: | Lunaticnologies |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help: Undeclared functions... |
| References: | <351D7EBF DOT A26F9438 AT sprynet DOT com> <6fjsk6$a5n AT bgtnsc02 DOT worldnet DOT att DOT net> |
| NNTP-Posting-Host: | 192.41.91.87 |
| Lines: | 17 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
C++ OneClickAway AT worldnet DOT att DOT net wrote: > > Are you using C or C++? > ANSI C does not support the bool type, but ANSI C++ does > To use the bool type in C, typedef "BOOL" as "int" > > Ishpeck <aTedjamulia AT sprynet DOT com> wrote in article > <351D7EBF DOT A26F9438 AT sprynet DOT com>... > > I have a function that declares a series of > > vairables as follows: > > bool trueorfalse; > > It tells me that: > > "bool undeclared (first use in this function)" > > What am I suposed to do to have boolean values?! > >
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |