diff --git a/stackSTL.cpp b/stackSTL.cpp new file mode 100644 index 0000000..a41afef --- /dev/null +++ b/stackSTL.cpp @@ -0,0 +1,24 @@ +#include +#include +using namespace std; + +void showstack(stack s){ + while(!s.empty()){ + cout<<" "< s; + s.push(1); + s.push(2); + s.push(3); + s.push(4); + cout<<"Full stack is :" ; + showstack(s); + + return 0; +}