delorie.com/archives/browse.cgi | search |
Message-ID: | <38AC9FB3.7D1A2867@caresystems.com.au> |
Date: | Fri, 18 Feb 2000 11:26:11 +1000 |
From: | leon <Leon AT caresystems DOT com DOT au> |
X-Mailer: | Mozilla 4.7 [en] (Win95; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
Subject: | Re: c++ |
References: | <HEHq4.4290$CC3 DOT 119351 AT wagner DOT videotron DOT net> <38ABA7FE DOT 10B29BCB AT earthlink DOT net> |
Reply-To: | djgpp AT delorie DOT com |
Martin Ambuhl wrote: > > class Desktop > { > public: > Panel Menu; > Panel Icon; > Desktop():Menu(0, 0, 100, 100), Icon(0, 100, 100, 100) > { > } > }; if you are going to put definition of constructor inline ala in header - then wouldn' you need to put ";" character between braces? ie Desktop():Menu(0, 0, 100, 100), Icon(0, 100, 100, 100) { ;//here it is } With best regards - Leon.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |