int lineSize = 256;
char tmp[lineSize];
int nParameters = 0;
- while (!infile.getline(tmp, lineSize).eof())
+ while (infile.getline(tmp, lineSize))
{
std::string line(tmp);
}
int inputParser::parseString(std::string str)
{
+ if (str == "")
+ return false;
std::string word;
std::string name;