I have a binary file whose size is "x+a+y" bytes. I have some questions;
Question about how data is stored in pile file;
Why is offset always chosen as unsigned int ? eX: x,a,y are known value
___________________________________________________________
| | | |
| | | |
|----------> x <--------------|> a <|-------> y <---------|
^
^
P
Platform linux
Note: If I do dublicate question, please inform me so that I can delete this question. Feel free when you command smth
There is a method in ifstream called seekg that moves the read-position to a specific place in the file. See http://en.cppreference.com/w/cpp/io/basic_istream/seekg.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With