0_0_39310834_4952.cpp:91:7: error: redefinition of 'class Stack<T>'
91 | class Stack{
| ^~~~~
0_0_39310834_4952.cpp:7:7: note: previous definition of 'class Stack<T>'
7 | class Stack{
| ^~~~~
0_0_39310834_4952.cpp:110:1: error: redefinition of 'Stack<T>::~Stack()'
110 | Stack<T>::~Stack() {
| ^~~~~~~~
0_0_39310834_4952.cpp:35:1: note: 'Stack<T>::~Stack()' previously declared here
35 | Stack<T>::~Stack() {
| ^~~~~~~~
0_0_39310834_4952.cpp:119:6: error: redefinition of 'void Stack<T>::push(T)'
119 | void Stack<T>::push(T element) {
| ^~~~~~~~
0_0_39310834_4952.cpp:40:6: note: 'void Stack<T>::push(T)' previously declared here
40 | void Stack<T>::push(T element) {
| ^~~~~~~~
0_0_39310834_4952.cpp:127:3: error: redefinition of 'T Stack<T>::pop()'
127 | T Stack<T>::pop() {
| ^~~~~~~~
0_0_39310834_4952.cpp:48:3: note: 'T Stack<T>::pop()' previously declared here
48 | T Stack<T>::pop() {
| ^~~~~~~~
0_0_39310834_4952.cpp:140:3: error: redefinition of 'T Stack<T>::top() const'
140 | T Stack<T>::top() const {
| ^~~~~~~~
0_0_39310834_4952.cpp:56:3: note: 'T Stack<T>::top() const' previously declared here
56 | T Stack<T>::top() const {
| ^~~~~~~~
0_0_39310834_4952.cpp:148:5: error: redefinition of 'int Stack<T>::getSize() const'
148 | int Stack<T>::getSize() const {
| ^~~~~~~~
0_0_39310834_4952.cpp:64:5: note: 'int Stack<T>::getSize() const' previously declared here
64 | int Stack<T>::getSize() const {
| ^~~~~~~~
0_0_39310834_4952.cpp:152:5: error: redefinition of 'int main()'
152 | int main() {
| ^~~~
0_0_39310834_4952.cpp:68:5: note: 'int main()' previously defined here
68 | int main() {
| ^~~~
|