Basically I need my program to output 25 arrays to a textfile. A few notes are that this is not complete as I still need to get it workign right. I also understand that there are a million better ways to write this but I just need a solution as this has been giving me problems for several hours now. Currently the output is just 24, and it should not be that at all. I can give more code if needed but I am hoping the error is something simple here I cannot see. Thanks.
Lets size it down by sayingfor(int loopa = 1;loopa < 3;++loopa)
1. loop = 1 - still smaller than 3, loop continues.
2. loop = 2 - still smaller than 3, loop continues.
3. loop = 3 - not smaller than 3, done loop is ended.
Im thinking loopa may be 0 to 24 inclusive so either try changing the for loop to for(int loopa = 0;loopa < 25;++loopa) and adjusting the if's to start from zero, or increment loopa before the for loop.