User Profile
Collapse
-
Ok then how do I implement the scenario wherein I want to call the the push function of Stack from the push function of Stack2. -
Compile time error
Hi, could anyone please tell me what is the problem with the following code :
const int MAX = 100;
class Stack{
protected:
int stk[MAX];
int top;
public:
Stack()
{ top = 0; }
void push(int var)
{ cout<<"Top = "<<top<<end l;
...
No activity results to display
Show More
Leave a comment: