Hi all, here is a small program I have worked on over these last two days, I have submitted it in the hopes of some constructive criticism and suggestions (please be kind, this is one of my earlier C projects lol). This is a small console application that simulates a contact management database. The data that a user inputs is saved to an external dat file (contactdatabase.dat) which is created the first time a user saves and exits. This project also employs the use of Malloc(), which is used to allocate memory on the fly (at runtime) for dynamic data structures, in this case a single linked list. Upon entering a new contact, a unique ID account number is allocated to that contact. Note that at present, if this contact is removed, that ID account is NOT freed up for use by an additional (new) contact. I hope you all find this interesting and useful, I think the comments explain pretty well what is going on in the program, so those who are new to C will appreciate this most:
P.S. Sorry if the formatting does not look that tidy, I have tried to EDIT it so now It looks better.