Basically, I need to write a hex dump utility using C++. It'll look something like this
(Part of a Word document's hex dump using Visual Studio)
I want to prompt the user for a file name, and then display the hexadecimal values as well as the translated ASCII characters. I'm still new at working with binary files, so if you could keep it simple, that would be much appreciated.
I don't normally do this for your kind of question.... But it doesn't take much to knock something like this up, and maybe you can learn from it. Here's a no-frills program that just reads from standard input and outputs in roughly the same format as you showed. Try it out here: http://ideone.com/mt1MLS
Code
Input
Output