Gauss-Jordan

Hello all, I am trying to design a program that will use gauss-jordan elimination to solve up to 50 simultaneous equations for a final project in my first c++ course. I have a few questions before I attempt to code this.

The user will enter the number of variables up to 50.
Using this you can determine the number of rows and columns.
The user will then enter row by row the coefficients and constants.

My question:

How would you declare a multi-dimensional array to accept the amount of data the user needs? If this question makes any sense :)

Topic archived. No new replies allowed.