Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~444 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for mko_1

#include<iostream> #include<string> using namespace std; class stack { string item; int top; public: stack() { top=-1; } void push(char ch) { top++; item[top]=ch; } char pop() { char ele; if(isempty()) { printf("\n stack overflow!!"); return '@'; } ele=item[top]; top--; return ele; } char peep() { return(item[top]); } int isempty() { …

Member Avatar for kevenm
0
444