Assignment task: How can I create 2D array in c programming?
The 2D array is supposed to store the calculation of the distance between two states (all possible combinations) from a datafile.
That is, the states I will be calculating the distance of are being stored in a data file (which I do not know the size of). On every single combination of the states which I also do not know I will be calling the distance calculating function and saving them in the 2d array.