title: Matrix class in C++
body: <p>I need a Matrix class for a project I'm doing in C++ but I don't know how to declare the constructor. </p>
  
  <p>I know I need a height and a width. But how do I go about the part where I store the values? What's the best practice? </p>
  
  <p>I thought about having my constructor be:</p>
  
  <pre><code>Matrix::Matrix(int height, int width, int[] values)
  </code></pre>
  
  <p>and so the private attributes of my class would be height, width and? How can I say that I want to store a number of values that I don't have yet? </p>
  
  <p>I hope this makes sense... I'm finding it very hard to explain and that's probably because I'm very confuse. I'm very new with C++, so any extra help will be appreciated. </p>