Computer Science A - ApString Review - 9/27/99 apstring: is a class of character vector data apstring is capable of: 1. Allows storage & manipulation of character vectors. 2. Defines several useful methods (function) & overload operators (overload is the same function name for function that differ through parameters). 3. Obtain whole string by getline (cin, string). examples of methods: apstring aWord("Computer"); //constructor int size = aWord.length(); //size = 8 int loc = aWord.find('t'); //loc = 5 int loc = aWord.find('a'); //loc = npos(-1) int loc = aWord.find("put"); //loc = 3 apstring verb = aWord.substr(3, 3); //verb = "put" Directions: Create a vector of structures that contains: 1. A baseball city (using a vector) 2. A team nickname (using a vector) 3. Number of homers hit by that team 4. A division character (N, E, W) 5. Team Earned Run Average (ERA) This program will read from an input file and display the information to an output file. One line of input: Tigers,Detriot 158 N 1.12 This line states that the Detriot Tigers of the North Division have hit 158 home runs & have an ERA of 1.12. Notes: Make strong use of vectors & structs vectors in vectors display routine will be a challenge team.cpp & TeamsIn.txt & TeamsOut.txt