I'm having a secondary problem as well. I have defined my array, written my functions, and all compiles well, but I'm getting two linking errors that say my hourly temp array is already defined in my test.cpp (main)...uhh, I dunno how to find out how/where to fix it.
You can not put array declarations in a header file then include that header file in two or more *.cpp files. If that's what you did then you should declare the array with the extern keyword everywhere except in ONE and only ONE *.cpp file.
// header file
[b]extern[/b] int array;
Then in a *.cpp file declare it again without the extern keyword.
hehe, okay, now I feel like an idiot, you'd think I'd never found a min or max before...of course, I haven't with an array..lol..thats going to be hard to get used to. Now have have to learn pointers...weeeeee
Thank you yet again, the entire program actually works now.