My assignment is trying to take an input from a user and store it into a character array and then count the number of characters so I can find the next greatest square number to implement as my dimensions for my 2D array.
However, I'm having trouble filling the 2D array, since I'm getting an error with saying " 'sqrsize' cannot appear in a constant-expression", and I don't know how to fix that.
I'm also not sure if I did line 56 correctly by incrementing the next "character" in the next column of that row until all the slots in that row are filled and it starts filling the next row.
I'm supposed to take the code in left to right/top to bottom, and print it out top to bottom/left to right, which is why I have the nested loops.