What is a hexdump and how do you create a hex dump of EXE using c++ ???

closed account (3hMz8vqX)
Hi all,
What is a hexdump and how do you create a hex dump of EXE using c++ ???

Please help me:)
Thankyou everyone in advance!!! :)
Last edited on
You don't want to use C++ (unless the purpose is to learn to think, rather than to see the dump). You want to use an existing program that does it for you.

Binary files contain bytes. Bytes can be interpreted to be numbers (even if they are not). Numbers can be shown formatted in hexadecimal base. Dump: read byte (or some bytes), show hex -- for each byte in a file.
You need to learn how to use Google, it seems.

First hit for search "what is a hexdump" is

Hex dump
http://en.wikipedia.org/wiki/Hex_dump

Andy
closed account (3hMz8vqX)
Okay,
I read the wikipedia article and now I know what a hexdump is...
what i want to know is
how do you
create a hex dump of EXE using c+
+ ???

Thankyou everyone in advance!!! :)
We already answered this question for you in this thread:

Can i search a .exe for ASCII chars c++ ?
http://www.cplusplus.com/forum/windows/112124/

Andy
closed account (3hMz8vqX)
Okay:)
Thankyou everyone!
Please answer my new questions...:)
Regards,
Aravind.
Topic archived. No new replies allowed.