the code i'm working on takes a matrix of different dimensions every input so i need to be dynamic and i need to make it with a vector but it gets me tons of errors each time i try
const int n=6; const int m=3;
float matrix1 [n][m];
float matrix2 [n][m];
float matrixsum [n][m];
how to make this into a vector instead of a 2d array here is the full code that takes the string then cut it and then takes the numbers in it and make it into an array so you can see the big picture https://ideone.com/4MwJVF it takes an input like this
[1 -2.5 3;4 5.25 6;7 8 9.12]
+
[3 4.2 10.2;12 -1 0;67 2 13]
and an output like this
[4 1.7 13.2;16 4.25 6;74 10 22.12]