Jerry: > If I do > > f.readf("%s %s", &l, &i); > > it fails if the whitespace is a tab. In you can use byLine, followed by a split, and then assignment of the pieces, followed by to!int where necessary. Bye, bearophile