delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/25/07:43:03

From: ahj372 AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Help Me!
Date: Tue, 25 Apr 2000 11:57:15 GMT
Organization: Deja.com - Before you buy.
Lines: 31
Message-ID: <8e416p$v2k$1@nnrp1.deja.com>
References: <200004240500 DOT BAA26982 AT delorie DOT com>
NNTP-Posting-Host: 209.204.79.70
X-Article-Creation-Date: Mon Apr 24 22:54:13 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt)
X-Http-Proxy: 1.1 x27.deja.com:80 (Squid/1.1.22) for client 209.204.79.70
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've run into 2 problems recently!

An example of the first:

class BADGUY
{
public:

BADGUY *next=0;

private:
};

int main()
{
 return 0;
}

This will not compile!?! I'm intending BADGUY to
be a linked list hence the pointer to next.

2nd prob:

I can't seem to figure out how to make a function
return an array such as a string of characters

Any and all help is greatly appreciated!!!


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019