I was asked to create a matrix with 5 rows and unknown column.
And my boss want me to use a 1 dimensional buffer. concatenated by 5 rows buffer.
I don't get what is that mean, can some one provide me a simple example please!

With array I can do

```
double[][] arr = new double[5][someNumber];

```

But he says then the size would be limited.

So I don't know what he means by using a DOUBLE buffer, I am not very good @C++

Thank you very much, an example would be nice!