I am new to C++, can anybody provide me some sample program's for String array and Arraylist/list in C++
Thanks in Advance.
You can use std::vector<std::string>. it can be accessed like a normal array (i.e. it provides operator[]). See here for the methods provided by vector. You can insert the elements using push_back and access elements either using an iterator or operator[]
[3]: [3]: http://www.cplusplus.com/reference/stl/vector/operator%5B%5D/
[3]: [3]: http://www.cplusplus.com/reference/stl/vector/operator%5B%5D/