The above lines are fine if I only want to do it once, but since I'll have too loop through the file line by line, is there anyway I can "re-initialize the string stream inside the loop? The ...
void Parser::parse() { string buffer; string command; ifstream infile(m_fileName.c_str()); // Open Filestream if(infile.good()) { cout<<"Filestream OK"<<endl ...