C++ Tutorial - LINKED LISTS

preview_player
Показать описание

This is an excerpt from the Learning C++, a LinkedIn Learning course taught by Dr. Erin Colvin. Erin is a Certified Ethical Hacker, published author, and computer science instructor.

#CPlusPlus
#HowTo
#LinkedIn
Рекомендации по теме
Комментарии
Автор

the code is wrong?
it should be:
nodePtr head;
head = new Node;
head ->data = 20;
head ->link = NULL;
same cout statement

also typedef in lowercase

gevcrln
Автор

could we get the code snippet in the description?

adamloepker
Автор

headnode was not declared in the scope????

nahomgetenet
Автор

the code at 3:20 and the code at 5:34 don't match up. The code at 5:34 is good though.

jadenataylor
Автор

You're going to confuse a lot of people with this.

andrewnicastro
Автор

this was clear and simple. the coding and explanation were very understandable. however, the inserting process was backward (adding data before a node) but can be modified to add it after the node (or between the node and null).
Moreover, it was very helpful. thank you.
teach coding better than my doctor.

rouhanasalameh
Автор

최근 수 년 간 세상의 변화가 제 생각과 일치했고 앞으로도 그럴 수 있기에 역량 있고 능력 있으신 분들과 교류를 갖고 미래를 준비하자는 것입니다. 최상의 최고의 미래를....전 교육을 못받아서 컴퓨터 IT 용어나 기술은 사용할 줄 모르지만 방향이나 전체적 통찰은 할 수있어요.

ydixdik
Автор

Random but you've got a soothing voice :D

yamire
Автор

Insert was not declared in this scope . What ?

mfauzan
Автор

Seriously? "Typedef" and undeclared headNode? Come on

fatgoose
Автор

Undefined reference to headNode.

Edit: guess I'm late to the party!

pnuema.
Автор

Pretty amateurish mistake head = headnode, when you never defined headnode meaning its going to get you an error right off the bat. For those of us that don't know jack, what are you even trying to do here and what is the point of this, how would you even define headnode as there's no way to tell if its an integer or string.

reflex
Автор

this was so confusing until I realized the code is wrong!

apollopierce
Автор

Its wrong
Whats the point of uploading wrong code

animesongs
Автор

next time code the code from scretch, not provide a written code. its hard to trace a code that you can not write

dlaminimajahonkebanele
Автор

ngl you lost me when you said a linked list

ahmadalrabeei
Автор

this really doesn't explain very much ...

snowbird