prog.cpp:9:9: error: stray '\342' in program
cout << “Stack is full.Overflow condition!” ;
^
prog.cpp:9:9: error: stray '\200' in program
prog.cpp:9:9: error: stray '\234' in program
prog.cpp:9:9: error: stray '\342' in program
prog.cpp:9:9: error: stray '\200' in program
prog.cpp:9:9: error: stray '\235' in program
prog.cpp:29:9: error: stray '\342' in program
cout << “Stack is empty . Underflow condition! ” << endl ;
^
prog.cpp:29:9: error: stray '\200' in program
prog.cpp:29:9: error: stray '\234' in program
prog.cpp:29:9: error: stray '\342' in program
prog.cpp:29:9: error: stray '\200' in program
prog.cpp:29:9: error: stray '\235' in program
prog.cpp:52:5: error: stray '\342' in program
cout << “Current size of stack is ” << size ( ) << endl ;
^
prog.cpp:52:5: error: stray '\200' in program
prog.cpp:52:5: error: stray '\234' in program
prog.cpp:52:5: error: stray '\342' in program
prog.cpp:52:5: error: stray '\200' in program
prog.cpp:52:5: error: stray '\235' in program
prog.cpp:57:5: error: stray '\342' in program
cout << “Current size of stack is ” << size( ) << endl ;
^
prog.cpp:57:5: error: stray '\200' in program
prog.cpp:57:5: error: stray '\234' in program
prog.cpp:57:5: error: stray '\342' in program
prog.cpp:57:5: error: stray '\200' in program
prog.cpp:57:5: error: stray '\235' in program
prog.cpp:63:5: error: stray '\342' in program
cout << ”The current top element in stack is “ << topElement( ) << endl;
^
prog.cpp:63:5: error: stray '\200' in program
prog.cpp:63:5: error: stray '\235' in program
prog.cpp:63:5: error: stray '\342' in program
prog.cpp:63:5: error: stray '\200' in program
prog.cpp:63:5: error: stray '\234' in program
prog.cpp:68:5: error: stray '\342' in program
cout << “Current size of stack is ” << size( ) << endl ;
^
prog.cpp:68:5: error: stray '\200' in program
prog.cpp:68:5: error: stray '\234' in program
prog.cpp:68:5: error: stray '\342' in program
prog.cpp:68:5: error: stray '\200' in program
prog.cpp:68:5: error: stray '\235' in program
prog.cpp: In function 'void push(int*, int, int)':
prog.cpp:9:20: error: 'Stack' was not declared in this scope
cout << “Stack is full.Overflow condition!” ;
^
prog.cpp: In function 'void pop(int*, int)':
prog.cpp:29:20: error: 'Stack' was not declared in this scope
cout << “Stack is empty . Underflow condition! ” << endl ;
^
prog.cpp: In function 'int topElement()':
prog.cpp:42:12: error: 'stack' was not declared in this scope
return stack[ top ];
^
prog.cpp: In function 'int main()':
prog.cpp:52:16: error: 'Current' was not declared in this scope
cout << “Current size of stack is ” << size ( ) << endl ;
^
prog.cpp:63:16: error: 'The' was not declared in this scope
cout << ”The current top element in stack is “ << topElement( ) << endl;
^
prog.cpp:67:14: error: too few arguments to function 'void pop(int*, int)'
pop( );
^
prog.cpp:24:6: note: declared here
void pop (int stack[ ] ,int n )
^
prog.cpp:71:11: error: too few arguments to function 'void pop(int*, int)'
pop ( );
^
prog.cpp:24:6: note: declared here
void pop (int stack[ ] ,int n )
^