Thanks for the help Dewman, I was hoping there was a cleaner method to do it but oh well.
As for the size of the array hrdwareguy I'm using a dynamic array, so what I first do is open the input file, "count" the number of integers then allocate my array accourdingly, go back to the begginging of the file and then read them into my array using dewmans method.
|