From: pjotr AT wlink DOT net (pjotr) Newsgroups: comp.os.msdos.djgpp Subject: BOOL crap :) Date: Thu, 31 Dec 1998 03:40:23 GMT Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Lines: 27 Message-ID: <368af097.10898047@news.w-link.net> NNTP-Posting-Host: 208.151.227.231 X-Trace: 915076038 T.3QWX1FWE3E7D097C usenet80.supernews.com X-Complaints-To: newsabuse AT remarQ DOT com X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I recently installed DJGPP along with RHIDE. My problem is, I want to use the BOOl type variable in my C programs, but for some reason the compiler does not understand it, eventhough RHIDE acknowledges "bool" as a valid keyword (e.g. it turns white on screen). I tried creating my own BOOL variable type by writing my own header file "types.h": #ifndef TYPES_H #define TYPES_H enum BOOL { FALSE = 0, TRUE = 1; }; #endif /* TYPES_H */ But even after this the compiler insists it does not know the BOOL type... Any sugestions? Yours Truly, Pjotr