C++ code checking palindrome … not working :s?
this specific code we have made down below runs nonetheless useless…any help! thanx #include #include #define maxsize 100 int top=-1; int front=-1; int rear=-1; char stackmaxsize; char queuemaxsize; bool isempty() returning (top==-1rear==front); bool isfull() returning (top==maxsize-1rear==maxsize-1); useless push (char x) if(isfull()) cout<<"stack full"<<endl; else stack++top=x; char pop() if(isempty()) cout<<"stack empty"<<endl; …