Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!flute.cs.uiuc.edu!grunwald From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald) Newsgroups: comp.lang.c++ Subject: Re: A question of style Message-ID: Date: 1 Aug 89 04:23:24 GMT References: <1148@hsfmsh.UUCP> Sender: news@brutus.cs.uiuc.edu Reply-To: grunwald@flute.cs.uiuc.edu Organization: University of Illinois, Urbana-Champaign Lines: 8 In-reply-to: mhyman@hsfmsh.UUCP's message of 31 Jul 89 16:50:28 GMT there is an advantage to using enums; when examining an enum value using G++, GDB will print the *name* of the enum, not just the value. this makes debugging a little easier, because you don't need to try to recall what the enum values mean. -- Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu)