to use a vector of STL::strings instead of an array of STL::strings you would do something like this:


std::vector<string> pac10;

pac10.push_back("Arizona");
pac10.push_back("Southern California");
//etc.

The vector could then be accessed and used similar to an array using the [] operator or, depending on your needs, you could use iterators to access individual elements of the vector, which is what a lot of the methods in the vector class and the std algorithms do.
A vector of char pointers or char arrays should also be possible, but the STL classes are designed to work with one another/switch between one another with a minimum of hassle, so using char pointers or char arrays with vectors seems a little pointless, unless you are required to do so.

In this case, the advantage of vectors over arrays is not the automatic enlargement when needed, but the ability to use standard methods and algorithms to manipulate/search the items therein so you don't have to do it from scratch. Likewise the advantage of STL strings over null terminated char arrays is so you can use the built in == operator rather than the somewhat convoluted strcmp function to compare the strings.

BTW: I would encourage you to get into the habit of not using eof() as the terminating condition for loops as in the following lines:
Code:
while (!playersFile.eof())
{
  playersFile.getline(info.number, 11, ',');
Instead, use the second line above as the conditional of the while loop. Search the board or look at the FAQ if you want to learn why.