Hi, I'm trying to find what function do i need to use in scanning in a hex file, to find the last value and return that value; and I think I need to use CFile class (or is it the CStdioFile class do i need to use instead?)
any idea? thx a lot
// if you know how many bites the last value is set numBytes to the negative of that, if not, the max size a value can be is 64 bits (unlikely) or 32 (most probable)
f.SeekToEnd();
int numbBytes = sizeof(int)*(-1)
f.Seek(numBytes);
thx Matt,
i manage to find out another way to overcome my problem, which is rather straight forward. I didn't realise just now. Btw, thx a lot for your support.
Cheers!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.