Populating an array with int and string values

I am trying to use an array to hold int values and strings, which are both in the same file. I would like one array to hold the year and the other array to hold the team name, so I could have the user put in a year and be given the corresponding team that won the championship that year. (Note: I don't want to use vectors, only arrays)

This is the file:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1998  Tennessee Volunteers
1999  FSU Seminoles
2000  Oklahoma Sooners
2001  Miami Hurricanes
2002  OSU Buckeyes
2003  LSU Tigers
2004  USC Trojans
2005  Texas Longhorns
2006  Florida Gators
2007  LSU Tigers
2008  Florida Gators
2009  Alabama Crimson Tide
2010  Auburn Tigers
2011  Alabama Crimson Tide
2012  Alabama Crimson Tide
2013  FSU Seminoles
2014  OSU Buckeyes
2015  Alabama Crimson Tide
2016  Clemson Tigers
2017  Alabama Crimson Tide
2018  Clemson Tigers
2019  LSU Tigers
Duplicate of http://www.cplusplus.com/forum/beginner/272043/ . Please don't post multiple threads for the same problem.
Topic archived. No new replies allowed.