Computer Hope

Software => Computer programming => Topic started by: bentzord on July 18, 2018, 08:07:57 AM

Title: C++ linked list HELP!!!
Post by: bentzord on July 18, 2018, 08:07:57 AM
Hi. I'm having trouble understanding how to write a linked list in c++. I have to create one for a school assignment but I cannot figure out how to access certain nodes from the list. I know how a linked list works, but I just get so confused over all the pointer usage and stuff. If someone, anyone, can provide a simple, clear, and easy to understand example of how to implement a linked list, it will be GREATLY appreciated. Thank you :)
Title: Re: C++ linked list HELP!!!
Post by: nil on July 18, 2018, 09:37:34 AM
Can you post the code you've written already?  :)
Title: Re: C++ linked list HELP!!!
Post by: Geek-9pm on July 18, 2018, 12:07:28 PM
Have you already done a Google search?
https://www.youtube.com/watch?v=o5wJkJJpKtM
What text book or tutorial are yo using?
https://www.cprogramming.com/tutorial/lesson15.html
If you need a textbook,ask your instructor .   8)