reading bytes from binary file / data type conversions

i wrote a simple program that opens a binary PE file, but im stuck on one part: i read 4bytes, and im able put that into a hex string, but i need to convert it to an int. i tried using atoi but it doesnt work with the hex values(a,b,c,d,e,f). i have the source online as a text file: [link][/link]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!