Message-ID: <351D92F7.ECC86B3D@sprynet.com> Date: Sat, 28 Mar 1998 16:16:55 -0800 From: Ishpeck 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 192.41.91.87 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 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?! > >