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
Post a Comment