Originally Posted by
hassanvoyeau
Your loop should be 1 to 1241 (since you already read the first line before the start of the loop)
Wouldn't he be safer ending the loop on End Of File (EOF), so that the code can take a file with varying amounts of coordinates.
I went to a bookstore and asked the saleswoman, "Where's the self-help section?" She said if she told me, it would defeat the purpose.
Windows 7 Pro, Gigabyte MA785GM-US2H, AMD Athlon II 245, OCZ Reaper 2X2GB DDR2 1066, WD 500GB+WD 200GB, Cosair 400W, 23" eMachine 1080p Monitor