From: Newsgroups: comp.os.msdos.djgpp Subject: Re: Help: Undeclared functions... Date: 28 Mar 1998 22:12:22 GMT Organization: AT&T WorldNet Services Lines: 13 Message-ID: <6fjsk6$a5n@bgtnsc02.worldnet.att.net> References: <351D7EBF DOT A26F9438 AT sprynet DOT com> NNTP-Posting-Host: 12.64.161.8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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?! >