.txt array of structs

I have a project where I am supposed to make an array of structs with a text file. We have to ask the person to enter a text file so it is supposed to work for more then one. Here is one of the text files.
NO NAME POS CLASS HEIGHT WEIGHT Hometown/High School/Last College
60 Josh Mann OL SO 6-4 300 Virginia Beach, Va./Ocean Lakes
64 Ricky Segers K/P FR 5-11 185 Glen Allen, Va./Henrico
70 Brandon Carr OL RS_SR 6-2 305 Chesapeake, Va./Western Branch/Fork Union Military Academy
53 Calvert Cook LB FR 6-0 250 Norfolk, Va./Booker T. Washington
51 Michael Colbert DE RS_SR 6-1 230 Fayetteville, N.C./E.E. Smith
22 T.J. Cowart CB RS_JR 5-9 190 Virginia Beach, Va./Ocean Lakes
1 Jakwail Bailey WR SO 5-11 185 Haddonfield, N.J./Paul VI
25 Andre Simmons S JR 6-0 205 Lorton, Va./South County/Vanderbilt
34 Johnel Anderson RB FR 5-8 180 Sicklerville, N.J./Paul VI




Frankly I don't even know where to start. I've been through the tutorial in my text book and several online but none of it makes any sense to me. Can anyone like dumb dumb this down for me??
For starters, you'll want to make a struct that can hold that data. It seems like each entry has a number, name, etc. so make a struct with members for each of those.
Yeah I tried that though I'm pretty sure I did it wrong.

1
2
3
4
5
6
7
8
9
10
11
12
struct ftballPlayer
{
       int NO;
       string first;
       string last;
       char POS;
       char clas;
       int height;
       char ds;
       int iheight;
       string hometown;
};

and I have no idea how to make it skip the first line of data so that it puts the second line into the struct first.
Topic archived. No new replies allowed.