This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ios_base


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]