Next week I am going to begin learning about linked list, I know very little currently. Are there any well written explanations of linked list online? Or can someone explain the logic to me. Want to have a background before I start learning it from my professor.
Nandomo
-3
Junior Poster
Recommended Answers
Jump to PostA linked list is a series of objects that are linked together because each object points to the next.
//a basic structure for a linked list typedef struct linkedList { int data; linkedList* next; //points to the next linkedList struct } linkedList;
Jump to PostI'm a little biased, but I believe this is a well written explanation. The code is in C, but the changes necessary to compile the examples as C++ are minor and pretty much just constitute an explicit cast.
All 6 Replies
chrjs
42
Junior Poster in Training
Narue
5,707
Bad Cop
Team Colleague
mrnutty
761
Senior Poster
Narue
5,707
Bad Cop
Team Colleague
mrnutty
761
Senior Poster
Nandomo
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.