plz i cant't correct the errors ..
can any one correct this
#include<iostream.h>
#define size 100
struct stack {
int item [size];
int top=0 ;
};
class m{
bool isempty(stack s)
{
if (s.top==-1)
return true ;
else return false ;}
bool isfull(stack s);
}
return (s.top==size-1);}
int count (stack s){
return (s.top+1);
}
void traverse (stack *p){
for(int i=0;i<=top+1;i++)
cout<<p->item[i];}
void push(stack s){
int x;
if(isfull(s))
cout<<"OVERFLOw:";
else {
s.top++;
s.item[top]=x;
cout<<p->item[top];
}}
void pop(stack s){
int x;
if(isempty(s))
cout<<"UNDERFLOW:";
else {
s.top--;
cout<< p->item[top];
}}
};
void main()
{int x;
cout<<":Push element";
cin>>x;
m cc;
cc.push(x);
cc.pop();
}}