Boost logo

Boost Users :

From: Richard (legalize+jeeves_at_[hidden])
Date: 2008-03-01 21:49:16


[Please do not mail me a copy of your followup]

boost-users_at_[hidden] spake the secret code
<A194A82A1A084C4C8A29AD16E363B5F8F3A55B_at_WIN2003s325.its.local> thusly:

>Can't find how to seek to eof, currently using:

I don't see what this has to do with boost::filesystem since, seeking
is a property of streams and not anything provided by the filesystem
library.

fs.seekp(0, ios_base::end);

is what you want.

-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>
        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net