Skip to main content
stack functions using a c++ program
#include
#include
#include
//#include
template
class stack
{
struct node
{
object data;
node *next;
} *TOS;
public:
stack ()
{
TOS=NULL;
}
void create ();
void push ();
void pop ();
void display ();
};
template
void stack
Popular posts from this blog
Comments
Post a Comment