It is not necessary to actually store the data in a vector or some other array. Just keep track of the min and max values as the data is read from the file.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343