delorie.com/archives/browse.cgi | search |
From: | "Campbell, Rolf [SKY:1U32:EXCH]" <moscoop AT americasm01 DOT nt DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Help Me! |
Date: | Tue, 25 Apr 2000 12:34:33 -0400 |
Organization: | Nortel Networks |
Lines: | 25 |
Message-ID: | <3905C919.EC6BA520@americasm01.nt.com> |
References: | <200004240500 DOT BAA26982 AT delorie DOT com> <8e416p$v2k$1 AT nnrp1 DOT deja DOT com> |
NNTP-Posting-Host: | wmerh0tk.ca.nortel.com |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.72C-CCK-MCD [en] (X11; I; HP-UX B.10.20 9000/785) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
You should use a more relavant subject. ahj372 AT my-deja DOT com wrote: > I've run into 2 problems recently! > > An example of the first: > > class BADGUY > { > public: > > BADGUY *next=0; > This will not compile!?! I'm intending BADGUY to > be a linked list hence the pointer to next. You can't initialize class members in their declaration. You must use a constructor. -- (\/) Rolf Campbell (\/)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |