Help, right now my total from my function comes out as like 15190923, which is way too high. It should be around 4200. I know that if I change it so that my for loop is (int i = 0; i < 36; i++) then it works but how can I clear up the unused portions of my array so that I can just keep it as it is (I want to use this function with other files that have more than 36 lines)? Thanks for the help!
Also my namespaces dont work I get errors when I compile any help there either??