This repository is not active
kevinzhangftw/-T-Stack
our MyStack class uses an array as its underlying data structure and will implement the following methods: default constructor – creates an array of size 10 constructor(int n) – creates an array of size n destructor – deallocates memory assigned to the underlying array push – inserts item at top of stack, throws an error if the stack is full pop – removes the item at the top of the stack, throws an error if the stack is empty
C++