list push pop « List « C++






1.list: push_back and push_front
2.list: push_back, front, empty and pop_front
3.Demonstrating the difference between push_back() and push_front()
4.list.pop_front(): remove element from front
5.list.pop_back(): remove element from back