Am 12.04.2011 00:31, schrieb Spacen Jasset:
> std::getline(is, line);
> while (line.size() != 0)
> {
> ...some things...
> std::getline(is, line);
> }
What's wrong with
while( std::getline(is, line), (line.size() != 0) ) {
//... some things
}
I mean, that's what the comma operator is for.