ifstream - C++ How to read in objects with a given offset? -


Now I have a file with many data in it and I know that the data I need is the status (long ) Starts with x and has a size shape (y) how do I get this data?

Use the search method:

 < Code> ifstream strm; Strm.open (...); Strm.seekg (x); Strm.read (buffer, wi);  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -