[C++] Reading in Rom Dumps
Page 1 of 1

Author:  Kafke [ Wed Jun 03, 2009 7:05 pm ]
Post subject:  [C++] Reading in Rom Dumps

How would I go about doing something like this? I've only done File I/O with txt/img files.

My Goal: Read in rom dump and display file (specified locations) in hex.

Any help?

Author:  Parasyte [ Thu Jun 04, 2009 9:11 pm ]
Post subject:  Re: [C++] Reading in Rom Dumps

You could probably use iostream, but since I really hate C++, I'll just suggest looking up the standard C stdio functions: fopen(), fclose(), fread(), and fwrite(). And when you are ready to print the values in hex: sprintf().

Author:  Kafke [ Fri Jun 05, 2009 9:41 am ]
Post subject:  Re: [C++] Reading in Rom Dumps

I'll try that. Thanks.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group