C++

Objectives :

  • myListPopBackFront.cpp
  • pop_front will erase first element in the list
  • pop_back will erase the last element in the list.
  • code: myListPopBackFront.txt

Step: 1 Create a source file.

Step: 2 Save  source file

Step: 3 Runtime Views:

Step: 4

Step: