+ 1
How to code stack in c++?
I want to code a dynamic mstack in c++!
2 Respuestas
+ 2
Use vector to store elements.
vector.push_back() to add new one.
vector.back() to access last.
vector.pop_front() to delete latest.
I want to code a dynamic mstack in c++!