columns in txt file into array

i have a txt file with 1st column strings, 2nd integers, 3rd integers can someone help me with getting those into array of strings, int, and int
example txt file
619847GBE 641 998
418712IMB 107 867
227451GEM 789 181
981836KEA 747 171
986516IGU 303 71
501024BMU 895 743
455559SKK 764 234
i wanna load first col into string array second into int array and third into int array.
Take each line and then split by ' ' spaces...

Here's how you go about doing that...

http://www.linuxselfhelp.com/HOWTO/C++Programming-HOWTO-7.html

Hope that helped...
A simple
f >> mystring >> myint1 >> myint2;
will do for each line.
Topic archived. No new replies allowed.