| www.delorie.com/archives/browse.cgi | search |
| From: | paulj63110 AT my-dejanews DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help please |
| Date: | Mon, 26 Apr 1999 23:01:22 GMT |
| Organization: | Deja News - The Leader in Internet Discussion |
| Lines: | 19 |
| Message-ID: | <7g2r80$b6q$1@nnrp1.dejanews.com> |
| References: | <7g2gmq$15s$1 AT nnrp1 DOT dejanews DOT com> <199904262036 DOT QAA24397 AT envy DOT delorie DOT com> |
| NNTP-Posting-Host: | 209.135.142.91 |
| X-Article-Creation-Date: | Mon Apr 26 23:01:22 1999 GMT |
| X-Http-User-Agent: | Mozilla/4.5 [en] (Win98; U) |
| X-Http-Proxy: | 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 209.135.142.91 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Thanks that did the trick . . . :-)
In article <199904262036 DOT QAA24397 AT envy DOT delorie DOT com>,
djgpp AT delorie DOT com wrote:
>
> > class stack
> > {
> > public:
> > static int stack_count ;
>
> You have declared that the class has a stack_count member, but where
> do you ever define stack_count itself? You need to define it, just
> like you must define all member functions. Try adding this somewhere:
>
> int stack::stack_count = 0;
>
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |