How to Create a Doubly Linked List C++ ( Part 1 )

preview_player
Показать описание
This is part one of two. In this tutorial, I demonstrate how to code a doubly linked list.

STILL NEED MORE HELP?
Connect one-on-one with a Programming Tutor. Click the link below:

:)
Рекомендации по теме
Комментарии
Автор

You succesfully taught me more in 8 minutes than my professor did in a one and half hour lecture

arammanukyan
Автор

Hi sir,
You don't talk, you don't show BUT you really explain, you really teach!

mohdadyg
Автор

you saved my life. would have easily failed without this. thanks

ShirtOffLJay
Автор

Oh great. I've been looking for this kinda lecture since last week.

Thank you sir!

jemmytech
Автор

This makes understanding so much easier!!! Thank you so much for doing god's work!!

abugslife
Автор

Thanks a lot man! My professor put 3 hours into explaining this and no one understood a damn thing.

armdayeveryday
Автор

you're a life saver, thanks so much!

artimiss
Автор

Its great how you explain everything as you go. 

marcosaenz
Автор

you are an amazing human thank you sir.

plague
Автор

Thank you Sir,

you made me learn doubly, very easily.

adeelmuzaffar
Автор

thank you so much your videos so helpful, I'm so glad to found this channel. I can understand what you explain about, so simple and interesting :) Paul Programming 

lampidea
Автор

Your videos are very helpful! Thank you! I'm new to programming and I am learning C++. I have been told that C++ is becoming obsolete with the rising of new languages such as Python. Do you think that's true?

scarlaticious
Автор

structure must be outside the main function. in your tutorial it looks like you have it in the main and before the main which makes for two sets of identical struct's. this causes all kinds of collisions and compiler errors

drusha
Автор

Thank you paul for such detail and nice explanation. I am just wondering to the last node where you assign tail->next = NULL, above this line you coded two lines, which i think is not necessary for the last node. i.e. tail->next = n; tail = n;.. since its a last node so that is enough to code only tail->next = NULL. I would be grateful for anyone who help me to clear my confusion. Thank you.

JahanzebKhan
Автор

what happens if you have more nodes because i imagine we cant copy and paste until infinity:)))) awesome video tho!!

catalinaboteanu
Автор

How many nodes does a doubly linked list have to have? Can it be just tail and head? Help please

stricker
Автор

On line 34 on your code, n->prev = tail, I'm confused upon how that logically works to connects both nodes. Since we're configuring n's prev pointer, shouldn't it be pointing to the head of the list?

flanwithaq
Автор

i wish you posted a git hub link or something to source code, nice vid tho. thanks

hasanq
Автор

Can you put more data in the structure than just an int, in case of a linked list, structure holds all kind of data, but all examples I have seen so far illustrate only an int?

OssaGhalyoun
Автор

Can you store string instead of integer?

musicalspace