I need coding for reading from File and store in differernt arrays !!!

for eg :

> 
> paul 23 54
> 
> 
> john 32 56
> 
> 
> 

My requirement are as follows: I need to store `paul,john` in string array and `23,32` in one integer array; and similarly `54,56` in another `int` array.

I read the inputs from the file and print it but I am unable to save in 3 different arrays.

```
int main()
{
    string name;
    int score;
    ifstream inFile ;

    inFile.open("try.txt");
    while(getline(inFile,name))
    {
        cout<<name<<endl;
    }
    inFile.close();     

}

```

So kindly suggest me some logics for doin this and I would really appreciate that... !!!