- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
5 Posted Topics
Unfortunately, working in the sun really isn't a viable option for me. I no longer have access to my large flatscreen monitors, and I'm forced to try to stare at this tiny 13" laptop screen bathed in sunlight (and it's a glossy screen, so there's tons of glare), it goes …
You've got some memory allocation issues in your code. On top of that, you're passing a pointer of a pointer to fgets(), while fgets() expects a pointer to a null-terminated string.
[quote]Should I sort the linked list or should I sort them as I add them and if so how do I do this?[/quote] Sort them as you add them. It'll be much simpler (and much more efficient) if you do it this way. Accomplishing it involves using the strings' overloaded …
The error means exactly what it says. Does "menu" look like an array or a pointer to you? I should hope not...
Yes, 'type mismatch in redefinition' has nothing to do with how you're calling the function, it pertains to the actual function definition itself. Post your function prototype here, or if you can, figure it out yourself.
The End.
Sorrofix