title: Reading data from a file into multiple arrays in C++
body: <p>I'm working on a project that requires taking input from a file. I want to read the data such that the first column of the input file goes into the first array, 2nd column goes into 2nd array and so on.</p>
  
  <p>The input file has 3 columns, of type string, int and double respectively.</p>
  
  <p>So i need 3 arrays of type string, int and double. How can I read the data from the file so that each array gets it's respective data?</p>
  
  <p>Thanks.</p>