Useful links for linked lists in c

  • Thread starter Thread starter ria_m
  • Start date Start date
  • Tags Tags
    Links
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
ria_m
Messages
4
Reaction score
0
i need useful links for linked lists in c!thanks
 
Physics news on Phys.org
well most of them they have limited information for them...i'm trying to find something more detailed..i want to compare the list's node and I'm little confused!
 
OK, post up your relevant code and maybe we can help you. You will find that each implementation is different, so if you are looking for something specific to the way you are doing it, you might not find it.

You should iterate through your list by following pointers to from one node to the next - do you understand how to do this?

Each node will contain a data element. Can you access this data element? I assume you have a struct representing your list_node - do you understand the syntax for referencing the variables inside?

What kind of data do you have? Are you using an appropriate comparison?

The first link that comes up for "c programming linked list" is a nice tutorial over at cprogramming.com - is this not helpful to you?

http://www.cprogramming.com/tutorial/c/lesson15.html