I am a mature student, working and doing night classes to complete my Degree. I have read the link on homework and I understand the policy, not looking for answers just need some help to understand
Here is my current problem I have to load CSV data from a file into what I think must be an array or struct of arrays I then need a main program that prompts the user for options. These will be modular functions in a menu list that would ADD DELETE EDIT PRINT the data stored in the array and Save the list on exit of the main program
So what I can do is open the file with fopen error check it with perror and use fgets to capture the lines of CSV data to a Char variable. I can also use puts to print the CSV data to the screen.
The problem I have is to wright the ADD function in a way that the Load function can call it to save the CSV lines to the array.
Any advice would be greatly appreciated.