Link to home
Start Free TrialLog in
Avatar of Buffon
BuffonFlag for Israel

asked on

STL

I need to store a list of strings and to be able to access n-th element of this list. In which convenient way would you suggest to implement it (what data type and example how to get n-th element)
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

definitively a vector<>, since list<> is not efficient for this task
Avatar of Buffon

ASKER

can you supply any code examples, please?
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial