Hi:
I need to create a C++ code that will read a file and then used some of the numbers in the file for some calculations. The file will look like the following:
#IMAGE NPIX MEAN STDDEV MIN MAX
002.jpeg 1048576 1984. 490.1 1870. 65535.
003.jpeg 1048576 1984. 471. 1875. 65446.
004.jpeg 1048576 1984. 479.1 1872. 65335.
005.jpeg 1048576 1984. 473.8 1869. 65535.
006.jpeg 1048576 1984. 476.3 1869. 65522.
In the file I need to use the numbers underneath the MAX column, and then do some calculations and write the answers onto a new file. Any good ideas ? Thanks