ch10/327/TextQuery.cpp
//read input file: store each line as element in lines_of_text
read input file: store each line as element in lines_of_text
read input file : store each line as element in lines_of_text
void TextQuery::store_file(ifstream & is)
{
	string textline;
	while(getline(is, textline))
		lines_of_text.push_back(textline);
}
void TextQuery :: store_file ( ifstream & is ) { string textline ; while ( getline ( is , textline ) ) lines_of_text . push_back ( textline ) ; }
read input file: store each line as element in lines_of_text
read input file : store each line as element in lines_of_text