User Profile

Collapse

Profile Sidebar

Collapse
shrew83
shrew83
Last Activity: Mar 30 '08, 11:42 AM
Joined: Mar 26 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • shrew83
    replied to Compile time error
    in C
    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.
    See more | Go to post

    Leave a comment:


  • shrew83
    started a topic Compile time error
    in C

    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;
    ...
    See more | Go to post
No activity results to display
Show More
Working...