From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: OOP with DJGPP Date: Mon, 20 Apr 1998 07:24:59 -0500 Organization: Spectrum Healthcare Services Lines: 17 Message-ID: <353B3E9B.3D02503D@a.crl.com> References: <353B38BC DOT 6C688A2D AT seric DOT es> NNTP-Posting-Host: a116011.stl1.as.crl.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 loren wrote: > > Why this: > > class MyClass { > int my_var; > MyClass(); > ~MyClass(); > } > > Doesn't work? You need a semi-colon after the closing brace. -- Weiqi Gao weiqigao AT a DOT crl DOT com