Code Comments
Programming Forum and web based access to our favorite programming groups.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 i s a list of the towns and a table of distances. Both these files have the nu mber of entries in the file on the first line. Click the following link to s ee 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 w hich 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. ThanksPHP: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
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.