fork download
  1.  
  2. class Stack{
  3. private:
  4. static const int MaxSize = 500;
  5.  
  6. int stack[MaxSize];
  7. int topIndex;
  8. public:
  9. void push(int x)
  10. {
  11.  
  12. }
  13. int pop()
  14. {
  15. return 0;
  16. }
  17. };
  18.  
  19. int main()
  20. {
  21. Stack yobaStack;
  22. return 0;
  23. }
Success #stdin #stdout 0s 3092KB
stdin
Standard input is empty
stdout
Standard output is empty