what strategy should i use if i have an implimentation of std::fstream with 32-bit std::streampos? If i want to move position i can do it in several steps(10gb - 10 times +1gb). How can i get position? Or should i keep current position in some variable outside fstream?
ps i can't change the implimentation of stl.