i am having trouble creating a square matrix with my code. I am not allowed to use the vector library or the math library. I am restricted to iostream and fstream. i am attempting to assign rows and cols with this
and i can tell from the debugger its not running how i want it to at numbers like 4,9 and 16
i created an array pointer with which i allocate memory storage. i need the rows and cols # from the total length in order to limit the size my other methods iterating through the array. if you are really want to see the rest of it, its here https://github.com/UW-COSC-2030-SP-2018/umatrix-f18--william-bollinger
That makes clear a comment i need on my code. The square input is the length of the 1d array. and i am having trouble solving for the square. And your iteration method is really interesting.