reading bytes from binary file / data type conversions - Programmers Heaven

Howdy, Stranger!

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

Categories

reading bytes from binary file / data type conversions

rhboarderrhboarder Posts: 105Member
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]http://richardhanning.net/rsc/cpp_peInfo.txt[/link]
Sign In or Register to comment.