#include istream & eatwhite(istream & i) { char c; while (i.get(c)) { if (!isspace(c)) { i.putback(c); break; } } return i; }