I would like to ignore empty line and line started with #
std::string line;
while (getline(input,line))
{
if (line[0] == '#') continue;
if (line[0] == '?') continue;
...
}
Where ? is, I would like to put the end line character, but what is it in C++?