i was taught about stack this week. i tried my best to read the notes, but surprisingly i found it more harder than array. then, i was given a task to write a program using stack. so, here is my coding so far.
I would suggest googling how to use std::vector. learning how to use vector is important anyways, and will familiarize yourself with the basics of all of the std containers