title: read data from file and store in array in c++
body: <p>I am hoping and wondering if someone can help me understand how to do the following in C++:
  <strong>Use command line input-redirection to store the contents of a file into a 2-d array.</strong></p>
  
  <p>The files will have an unknown number of lines with 3 columns.
  Something like this:
  20 42 0.00
  15 67 2.41
  70 53 9.88</p>
  
  <p>So an array needs to be made that can hold x number of arrays. X being the number of lines in the file. Each interior-array will hold one of the columns of the line.</p>
  
  <p>I have no idea how to do this, but I would sincerely appreciate any and all help and direction in how to do so.</p>
  
  <p>Thanks in Advance &amp; Best Regards!</p>