I\'m trying to create an n x n vector that I can later cout as a table/matrix. Xcode points to the = in the for loop and tells me No
cout
=
for
No
When the constructor of row is called, all elements are initialized too. I think this code does what you're looking to do:
row
for (int i=0; i
Now all elements of row will be of size n.
n