Question on Linked Implementation of Stacks

"mpdroza2000" <[email protected]>
Newsgroups gmane.comp.programming.cppug
Message-ID <[email protected]>
Hi,
 
I am working on a project that requires the use of a stack in a 
linked list to print the contents of the list in reverse order. The 
problem is that when using the push function (to populate the stack 
with the data presently stored in the linked list) I am unable to 
print the stack contents. It seems to me that the scope of the stack 
class is not active once outside the push function. Could anyone help 
with this problem?
 
Thanks



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/EbFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.