Reading data from a file into Multiple arrays

Hello,

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.

The input file has 3 columns, of type string, int and double respectively.

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?

Thanks.
Topic archived. No new replies allowed.