www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/14/07:19:45

From: wilson m liaw <macgyver AT cis DOT ohio-state DOT edu>
Subject: Re: named enum?
To: d791013 AT hntp2 DOT hinet DOT net (d791013)
Date: Wed, 14 Sep 1994 04:46:20 -0400 (EDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> 
>    Can the named enumeration be implemented in DJGPP? For example, when
> I compile the small program below:
> 
> 	enum  bool  {false, true};
> 	void main () {
> 	  bool foo = false;
          ^^^^^^^^^^^^^^^^^
append enum in front of bool. so the line reads
enum bool foo=false;
> 	}
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019