Quote:
Originally posted by Hammer
Before you read from the file, you should create it first (I know that's obvious, but I don't see any file writing in your code).
Now, I don't know what the purpose of the exercise is, are you learning link lists, function calls, struct use, I/O or what? There's a lot of different aspects in a program like this that you need to get to grip with, but best do it one thing a time.
I could answer your questions, but without knowing what you trying to achieve with this and how much you are already confident with, I don't want to say too much and send you up a path that will end up confusing you more than necessary.
Let me know, then I'll help more.
Quote:
I know how to use linked lists, func calls & structures but only the basics were taught to me. I'm in my 1st year of college and the profs aren't worth a ......... Tutoring is too expensive and all I really have is a book for reference. For this app I have been informed that linked lists are not allowed and only days before it is due. I had originally built it using a list because I have never built anything yet that uses comands like fprintf etc. Now I'm in a jam with only three days to complete the code and I'm feeling more lost everytime I work on it. I hope this explains things for you and I hope you'll be kind enough to help me out. Thx.