I need to read through a file and assign values from the file into an array that stores the values permanently once the program is compiled. I am creating a program that will have multiple users and I don't want to send an accessory file each time I send the program out. I could hardcode the values into an array, but that would be a lot of time and lots of lines of code. Below is a shortened version of the file format:
A B C
1 1 0
1 2 0
1 3 0
1 4 0
1 5 0
1 6 1
2 1 0
2 2 0
2 3 0
2 4 1
2 5 0
2 6 0
The array would be categorically dimensioned as Array(A,B,C), true dimensions of Array(0 to 1, 0 to 5, 0 to 1). If the value of column C is 1 then 1 is stored in the array at the corresponding location, otherwise 0 is stored. Once I have read through the file, I need to store this data permanently so that the next user doesn't need this file. Anyone have any ideas on how to do this If I can't do this with an array, are there any other options
Thanks for any suggestions