ios_base

Andrew Borthwick borthwic@johnson.cs.nyu.edu
Tue Dec 9 15:01:00 GMT 1997


Hi,

    I can't seem to find ios_base.  Is it implemented?  I am trying to
use the function "seekp" as specified in chapter 21.6.1 of Stroustrup.  I.e.

ofstream fout;

. . .

fout.seekp(23,ios_base::beg);  // Position for write at 23rd character of fout


    This is supposed to be defined in <ios.h>, but the header comes up not
found.

    If this isn't implemented, any suggestions as to how to get the same effect?


Thanks,
Andrew Borthwick





More information about the Gcc mailing list