Hi again,
I've figured out how to get the program to do what I need it to do, except it is doing the last thing twice and I can't figure out how to change it so it does it only once. Please provide some direction. I've attached the files.

Without even looking I'll bet this will help -- feof() and .eof() are identical.

If you mean why are the low and high temps shown twice - it's because in those function you have the loop running two iterations. In fact, what you show are the highest high and the highest low, and the lowest high and the lowest low.

Also, in both the indexXXXTemp functions, you initially set your min/max to the value at column index 12. That's out of bounds for the arrays! Better option in any min/max problem is to set the min/max variable to the very first element of the data set. This then solves the problem for the smallest set - that consisting of a single element.

Several places you have an outer loop for (rows = 0; rows < 1; rows++) - this is useless, as it runs only one iteration. You might as well remove this, or, let the outer loop do its job and run for both rows, using its counter as the row index.
Val

(good guess, Walt, but it wasn't the problem in this case. I'd have thought the same thing.)

(good guess, Walt, but it wasn't the problem in this case. I'd have thought the same thing.)

OK. I, like many others here, don't download links. The code must be posted. And preferably not 500 lines, just the section in question...

Ok,
Thanks for the direction Val and for not trying to make me feel like a complete idiot. And Walt, I am sorry if I don't know the proper etiquette for posting. I am learning. Hopefully, I'll get to the point where I can stop asking for help and start providing some help. But when and if I do, I want to remember where I started, it'll help keep me humble.

And Walt, I am sorry if I don't know the proper etiquette for posting. I am learning.

All it takes is reading the Rules and the sticky posts at the top of the forum...