Skip to main content
implementing queue using c++
#include
#include
#include
template
class Queue{
struct node
{
object data;
node *next;
}*front,*rear;
public:
Queue()
{
front=rear=NULL;
}
void Enqueue ();
void Dequeue ();
int IsEmpty ();
void display ();
};
template
void Queue
Popular posts from this blog
Comments
Post a Comment