-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.cpp
More file actions
31 lines (23 loc) · 701 Bytes
/
test.cpp
File metadata and controls
31 lines (23 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "array_stack.h"
#include <iostream>
using namespace std;
int main()
{
ArrayStack <int> stack(10);
// stack.StackPush(1);
// stack.StackPush(2);
// stack.StackPush(3);
// std::cout << stack.IsEmpty() << std::endl;
// std::cout << stack.StackTop() << std::endl;
// std::cout << stack.StackPop() << std::endl;
// std::cout << stack.StackPop() << std::endl;
// std::cout << stack.StackPop() << std::endl;
// std::cout << stack.IsEmpty() << std::endl;
// stack.StackPush(1);
// stack.StackPush(2);
// stack.StackPush(3);
// stack.StackPop();
// stack.StackPop();
// std::cout << stack.StackTop() << std::endl;
return 0;
}