any c programmers in a good mood?
Hey guys, I need your help. I've written out a code in c that opens a file and assigns values in files to a circular linked list. However, I am not sure if I did the code correctly, and I am questioning some parts of my code. Can anyone who has the time go through the code with me, and discuss if I am doing anything wrong, and what I need to do to fix it? Don't worry it has lots of comments in there
Re: any c programmers in a good mood?
I haven't done any programming in plain C, the closest I come is C#, so I can't really help you.
=-=-
You might want to try having this moved to the programming section, though, if you don't get the help you want, someone who might be able to help might miss it if it's in here, like. Just a wee tip, like. Personally I don't often check this section out these days.
Re: any c programmers in a good mood?
thanks. can a mod move this please?
Re: any c programmers in a good mood?
Moved.
Sorry, I've never done C programming either :blink:
Re: any c programmers in a good mood?
how long/complex is it? If its short and theres nothing to link in maybe you should just paste it up. I'm not particularly good and i can't really be arsed to start fiddling with a compiler so i'd just look at the code, but i might still be able to help
Re: any c programmers in a good mood?
What kind of structure do you use for your circular linked list? A rotating array, objects that uses pointers to reference to other objects, ....
Can you copy/paste the code? Otherwise I don't see how we can help...