file i/o-structs,linked lists
Once again, I need some direction. How can I get a variable from a struct that's in a linked list to change upon input from the user? I've attached the code I have so far for your reference. Specifically I am referring to the 'bookSale' function. If the user is selling a book, I'd like the quantity to reflect the change that is made to its amount in the file where it has been read. I've tried hacking on it for several hours but came up with nothing workable. Please throw me a bone. Thanks.