Linked Lists - C Programming
Top Comments
All Comments (6)
-
@Taking1n1 Don't be intimidated by them! Just start small, then gradually build larger more complex functions. Build a list and print it. Then try inserting/deleting, then sorting... Diagramming the pointers/nodes on paper is the key to understanding all of it at the beginning, until you start to see the pointer operations in your head. Most instructors teach lists completely wrong. They immediately overwhelm students, then wonder why everyone's confused.
-
@s65maniac I have learnt the basics and I appreciate C programming, it's just linked lists that blow my mind.
-
@Taking1n1 Deitel Deitel, Chapter 12. Or Hanley's text "C Programming". It takes a very long time, and lots of repetition before you can "see" list operations in order to write them correctly. Start as simply as possible before you dive into the complex stuff; even most profs make the mistake of forcing their students into the complex implementations before testing their students on the basics first.
But do it! The most difficult topics are also the most rewarding.
-
linked lists are so confusing. can someone explain them to me how to use them?
where can I get this reusable code for linked lists? It would be very useful to me right now since I have an assignment in C programming which involves double linked lists.
OzY360 2 years ago 3