From: "Mikkel K Johnsen" Newsgroups: comp.os.msdos.djgpp Subject: Re: enum doesn't work? Date: Tue, 26 May 1998 21:00:40 +0200 Organization: CyberCity Internet Lines: 28 Message-ID: <6kf3ig$dd8$1@news.cybercity.dk> References: <356B058B DOT 463C5F37 AT est DOT fib DOT upc DOT es> NNTP-Posting-Host: 195.8.140.54 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I donīt thik you should use enum that way. Itīs used to enumarete words enum BOOL { false, true }; now false has the value zero and true one. typedef unsigned long u_long when you type u_long it is now "unsigned long". thats have I understand it!. bye Mikkel Victor Viudez Gonzalez wrote in message <356B058B DOT 463C5F37 AT est DOT fib DOT upc DOT es>... >Why doesnīt work something like this? > >typedef enum BOOL{false,true}bool; > >It says Error before 'typedef', but before 'typedef' there are nothing! >Victor >