
12 May
2011
12 May
'11
11:21 a.m.
I was wondering is there is any way to truncate the file-size to n bytes, while deleting from the end of the file? Does boost::filesystem support something like this?
Take a look at resize_file. http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/reference.html#r... ~Dan