delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/03/12:15:32

From: "Chris McKenzie" <taganov AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Probably Silly Newbie Question
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <7Rgi5.7236$Z6.275472@newsread1.prod.itd.earthlink.net>
Date: Thu, 03 Aug 2000 16:11:47 GMT
NNTP-Posting-Host: 38.37.12.225
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 965319107 38.37.12.225 (Thu, 03 Aug 2000 09:11:47 PDT)
NNTP-Posting-Date: Thu, 03 Aug 2000 09:11:47 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

hi,

My C++ textbook says that I can declare an enumerated variable type by using
the following syntax:

            enum enum-variable-name (enumeration lista, listb, listc. ..)
variable-list;

however, the djgpp compiler doesn't seem to recognize the enum command.  Is
there some trick to the declaration I should know?  Thanks in advance for
your help.

Chris


- Raw text -


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