I have a prob. with declaring a class instance can someone get me help
here is the main body:
#include <iostream.h>
#include <conio.h>
#include <Queue.h>
//using namespace std;
insertitem = m;
if (isFull()){
cout <<"the Queue full";}
else
{
back++;
item[back]= insertitem;
}
}
void Queue::deQueue(){
int deleteditem = m;
if (isEmpty())
cout<<"the queue is empty";
else
{
deleteditem = item[front];
front++;
}
}
int Queue::getfront() {
for (int i=0; i<=4; i++)
cout <<"inserted items are" <<item[front]<<endl;
}
int Queue::getrear() {
return item[back]; }
// int Queue::getfront(){
//}
the compiler shows that the Queue and see is the "Queue see" is undefined symbols
what i need from this code to do is to insert 5 integers to the queue the remove them and display the inserted and the removed as will.
I need to submit it soon