You are here:

C++/Seekoff implementation in my class


have derived my buffered class from basic_streambuf.
I am unable to get the exact idea of how to implement seekoff() function.
Can you suggest some sutiable method to implement

Dear Ravi

I went through and I think that you should try to go through the GCC/Microsoft implementation of filebuf/stringbuf to understand the functionality of seekoff and implement it. If still have problem, please give me more details of the derived class you are trying to implement and I will try to answer this again.  


All Answers

Answers by Expert:

Ask Experts


Amit Kumar


I can answer Cplusplus language and library questions, including STL, ACE, Boost. I have a good background in Mathematics.


Programming in CPP for about 8 years. Industry experience of 4 years.

Bachelors and Masters in Computer Science from Indian Institute of Technology Delhi.

©2017 All rights reserved.

[an error occurred while processing this directive]