C++List<string>

Objectives :

  • myList2
    string n1[] = {"A", "B", "C","D"};
    list <string> l1(n1, n1+4);
  • code : myList2.txt

Step: 1 Create a source file.
 

 

Step: 2 Save  source file

Step: 3 Runtime Views:

 

Step: