cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
linked list
linked list
Jan 1, 2019 at 8:05am UTC
closed account (
1vf9z8AR
)
Should I use
list stl(<list>)
or
make my own linked list?
Jan 1, 2019 at 11:35am UTC
Thomas1965
(4571)
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.
Jan 1, 2019 at 2:13pm UTC
JLBorges
(13770)
> 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.