hmm. streampos is not actually used: pos_type tellg(void); __istream_type& seekg(pos_type); __istream_type& seekg(off_type, ios_base::seekdir); ? -benjamin