_mycont exception c++ is empty while the stack is fiiled code example
Example: check an stack is empty c++
std::stack <int> st;
if(st.empty())
std::cout << "stack is empty";
std::stack <int> st;
if(st.empty())
std::cout << "stack is empty";