linked list

closed account (1vf9z8AR)
Should I use list stl(<list>)
or
make my own linked list?
Use std::list.
What you might be able to create will probably less useful than the stl list.
Also have a look at: https://www.youtube.com/watch?v=YQs6IC-vgmo
to see the problems with linked lists.
> Should I use list stl(<list>) or make my own linked list?

If you have to ask this question, the answer is neither. Use std::vector<>

More information: http://www.cplusplus.com/forum/beginner/206320/#msg976007
Topic archived. No new replies allowed.