delorie.com/archives/browse.cgi | search |
Message-ID: | <c=US%a=_%p=Hassler_Communic%l=DAISY-970613204522Z-208@daisy.hcst.com> |
From: | Bryan Murphy <bryan DOT murphy AT hcst DOT com> |
To: | "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>, |
"'Roberto Henriquez Laurent'" | |
<shl24634 AT alumnos DOT inf-cr DOT uclm DOT es> | |
Subject: | RE: copy constructor |
Date: | Fri, 13 Jun 1997 16:45:22 -0400 |
MIME-Version: | 1.0 |
Yes, simple typing error. I threw that together on the fly. Sorry. Bryan Murphy Web Developer HCST, Inc. : http://www.hcst.com/ Home Page: http://www.hcst.com/~bryan/ >---------- >> bozo = new CLOWN("anak"); > > I think that's wrong (to assign an object variable a pointer value), >i.e., for that sentence to work, bozo should be CLOWN*, not CLOWN. So >maybe it should be > > bozo = CLOWN("anak"); //Would this work? >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |