From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro-GUI-Problem Date: Sun, 08 Mar 1998 16:26:46 -0800 Organization: Alcyone Systems Lines: 19 Message-ID: <35033746.2866F195@alcyone.com> References: NNTP-Posting-Host: charmaine.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 Andreas 'LionKing' Tscharner wrote: > The compiler says "Parse error before '{'". What's the problem? How do > I > fix it? The problem is that this initialization notation only works in an initialization (e.g., at the same time you're declaring the variable). You should either do a memberwise assignment, or do this work in a constructor. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "I've got the fever for the / flavor of a cracker" / Ice Cube