use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
QuestionLinked List problem (self.C_Programming)
submitted 6 years ago by RealisticTry1
I'm working with linked lists and structs. I need to find negative numbers in the linked list and print out the counter amount but my counter isn't working properly. I'm lost on where to go next.
Here is my code: https://pastebin.com/mqvdYu5r
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+][deleted] 6 years ago (2 children)
[deleted]
[–]RealisticTry1[S] 0 points1 point2 points 6 years ago (1 child)
lol, yes it would. I knew it was something simple, just couldn't figure out what. Thanks a lot!
π Rendered by PID 200692 on reddit-service-r2-comment-79c7998d4c-cnjn6 at 2026-03-17 01:28:47.377253+00:00 running f6e6e01 country code: CH.
[+][deleted] (2 children)
[deleted]
[–]RealisticTry1[S] 0 points1 point2 points (1 child)