I am about to make the transition from using standard FILE pointers from some older code to using C++ streams but I need to have LARGEFILE seeking support (the compiler flags that activate this support are: -D_FILE_OFFSET_BITS=64 et al) which I am able to obtain by using the off64_t datatype.
My original question was answered regarding this subject matter and the C API, and now I am hoping to be able to transition towards using C++ streams.
Do the same flags trigger seeking ability on file streams in C++?
So I performed a quick test on a 16GB file and it seems to have worked. Here is the code that I used.