\\I begin with opening a file, declaring an array of strings, and placing the \\individual lines in the file into arrays of strings.
string line[1000]; \\the number 1000 is an arbatrary expected
\\maximum number of lines in the file
int i=0;
while(getline(infile1, line[i], '\n'))
{
i++;
}
\\ The array is size i
Now I would like to read each string in this array while searching for a particular character and then return the number (of the string in the array) that the character occured at.
Any suggestions as to how to go about this would be greatly appreciated.