Computer Science A - 10/1/99 apvector GetString(ifstream& infile) { apvector word; int ctr = -1; char ch = 'a'; while(ch != ' ' && ch != ',') { inFile>>ch; word.resize(word.length() + 1); ctr++; word[ctr] = ch; } word[ctr] = ' '; return word; }