Ok, now apply that same logic to this code:
Code:string myStringErrors; ... std::getline(file,myStringErrors) ... const char* myStringNoSpaces = myStringErrors; string str(myStringNoSpaces); istringstream input(str);
Ok, now apply that same logic to this code:
Code:string myStringErrors; ... std::getline(file,myStringErrors) ... const char* myStringNoSpaces = myStringErrors; string str(myStringNoSpaces); istringstream input(str);