delorie.com/archives/browse.cgi | search |
Date: | Mon, 26 Apr 1999 16:36:17 -0400 |
Message-Id: | <199904262036.QAA24397@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <7g2gmq$15s$1@nnrp1.dejanews.com> (paulj63110@my-dejanews.com) |
Subject: | Re: Help please |
References: | <7g2gmq$15s$1 AT nnrp1 DOT dejanews DOT com> |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> 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;
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |