| www.delorie.com/archives/browse.cgi | search |
| From: | ahj372 AT my-deja DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Help Me! |
| Date: | Tue, 25 Apr 2000 11:57:14 GMT |
| Organization: | Deja.com - Before you buy. |
| Lines: | 33 |
| Message-ID: | <8e416n$v2j$1@nnrp1.deja.com> |
| References: | <8e045l$6pc$1 AT agate DOT berkeley DOT edu> <3903CFA2 DOT ECC9D671 AT yahoo DOT com> |
| NNTP-Posting-Host: | 209.204.78.14 |
| X-Article-Creation-Date: | Tue Apr 25 11:33:46 2000 GMT |
| X-Http-User-Agent: | Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt) |
| X-Http-Proxy: | 1.1 x39.deja.com:80 (Squid/1.1.22) for client 209.204.78.14 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I seem to have two problems and I can't solve
them myself.
An example of my first problem:
class BADGUY
{
public:
BADGUY *next=0;
private:
};
The compiler gives me several error messages for
something as simple as this. next is supposed to
be a pointer to the next BADGUY in a linked list.
Second problem:
I can't seem to figure out how to get a function
to return an array of characters. For instance:
char string()
{
return "This never works!!!";
}
I'd appreciate any and all help!!!
Sent via Deja.com http://www.deja.com/
Before you buy.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |