| JimmyJaconi 2005-05-11, 4:08 pm |
| http://www.wrestlefury.com/DataFiles.zip
The zip file contains a map, a spread sheet of distances between these towns and two files of data extracted from the spread sheet. The extracted data is a list of the towns and a table of distances. Both these files have the number of entries in the file on the first line. Click the following link to see a picture of the program:
http://www.wrestlefury.com/distancefinder.jpg
I was wondering if anyone can help with the coding, i've got a bit of code which is underneath, but i still think this is fairly hard. I've created the Interface, just need to do the remainder of the code. Any code or hints will be very much appreciated.
Thanks
PHP:
private Hashtable _distances;
int[,] distances
_distances=new Hashtable();
Hashtable birminghamDistances=new Hashtable();
birminghamDistances.Add("Birmingham",0);
birminghamDistances.Add("Cardiff",103);
...
_distances.Add("Birmingham",birminghamDistances);
// repeat for all towns
|