Click here to Skip to main content
15,304,276 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Does C++ STL has ready Doubly Linked List data structure? Want to use already ready one, instead of writing it from scratch?

What I have tried:

tried single linked list manually, but also I would like to use it automatically from the STL library. P.S. as in Java LinkedList<int> list = new LinkedList<int>();
Posted
Updated 28-Jun-19 7:22am

Please, read the posting guidelines and do your own research first!

list - C++ Reference[^]
List in C++ Standard Template Library (STL) - GeeksforGeeks[^]
Google[^]

If you have a specific problem then please come back with details and we will be happy to help
   
Comments
CPallini 28-Jun-19 5:52am
   
5.
megaadam 28-Jun-19 8:20am
   
Next question: Does C++ have goto?
CHill60 28-Jun-19 8:51am
   
LOL! For one minute there I thought this was from the OP! :-D
Rick York 28-Jun-19 11:40am
   
No. It doesn't.

;)
When you want to use some tool it is best when understanding it else you will run into trouble or use it in some wrong cases. So you better have some basic knowledge about linked lists.

The above links are fine, when you understand the theory.

Always remember: C++ is like axe - a superior tool for hard hitting a lot of problems but also a weapon to crush yourself.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900