Added: 3 years ago
From: zixan
Views: 9,533
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • linked lists are so confusing. can someone explain them to me how to use them?

  • @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.

  • @s65maniac I have learnt the basics and I appreciate C programming, it's just linked lists that blow my mind.

  • @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.

  • 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.

  • Comment removed

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more