From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: A very newbie question. Very newbie. Date: Thu, 31 Jul 1997 09:43:11 -0700 Organization: Alcyone Systems Lines: 16 Message-ID: <33E0C09F.5A3F4F13@alcyone.com> References: <01bc9bae$0a7b5180$6d3d31cf AT default> <33DE0D3C DOT 794B AT cray DOT com> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Mark Goodwin wrote: > As a test, try this...put class star at the top of main.cc. Then put > main() after this class definition and put your starfield declaration > inside main(). It should work then. The problem was simply a missing semicolor after the class declaration (a fairly common mistake). -- Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Love is not love which alters / when it alternation finds." / William Shakespeare, _Sonnets_, 116