Useful links for linked lists in c

  • Thread starter Thread starter ria_m
  • Start date Start date
  • Tags Tags
    Links
AI Thread Summary
The discussion centers on finding detailed resources for understanding linked lists in C programming. A user expresses frustration with the limited information available in many online resources and seeks guidance on comparing nodes within a linked list. Participants suggest that sharing relevant code could facilitate more targeted assistance, as implementations can vary significantly. Key points include the importance of iterating through the list using pointers, accessing data elements within nodes, and ensuring appropriate data comparisons. A specific tutorial from cprogramming.com is mentioned as a potentially helpful resource.
ria_m
Messages
4
Reaction score
0
i need useful links for linked lists in c!thanks
 
Technology 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
 
thanks for your help!
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
What percentage of programmers have learned to touch type? Have you? Do you think it's important, not just for programming, but for more-than-casual computer users generally? ChatGPT didn't have much on it ("Research indicates that less than 20% of people can touch type fluently, with many relying on the hunt-and-peck method for typing ."). 'Hunt-and-peck method' made me smile. It added, "For programmers, touch typing is a valuable skill that can enhance speed, accuracy, and focus. While...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
3
Views
2K
Replies
3
Views
1K
Replies
5
Views
2K
Replies
2
Views
956
Replies
4
Views
2K
Replies
1
Views
1K
Replies
14
Views
6K
Back
Top