How do I read information from a text file and store it into an array in C?
Posted on 2011-03-09
I don't understand how to load the file and then read the info and store it in an array. This is what the file looks like:
And each line should consist of a cust id, customer name, state, discount code, balance due, and outstanding orders. How would I go about storing each of the lines into each of the seperate arrays?