Adam Leinss
asked on
Pretty the output? Floppy dump to screen program
I have the following program source code that dumps the contents of a floppy sector to the screen. The source code is here: http://stealth.kirenet.com/~aleinss/diskdump.cpp I
would like to have a cleaner output like this:
http://stealth.kirenet.com/~aleinss/floppy_2.jpg
with the pretty hex offsets and such, can anyone help?
Thanks,
Adam
would like to have a cleaner output like this:
http://stealth.kirenet.com/~aleinss/floppy_2.jpg
with the pretty hex offsets and such, can anyone help?
Thanks,
Adam
ASKER
Hi.
Unforunately, it's a tad more complex than that. I want the hex to run left to run and then have the text in the last column, with the cool offsets. Ok, it doesn't have to have the xxx offsets on the left, they can run 3 characters across, but I need some code to play with.
I'll ante up the points to 400, 200 now and 200 later.
Unforunately, it's a tad more complex than that. I want the hex to run left to run and then have the text in the last column, with the cool offsets. Ok, it doesn't have to have the xxx offsets on the left, they can run 3 characters across, but I need some code to play with.
I'll ante up the points to 400, 200 now and 200 later.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, looks exactly what I need, I'll open another question for ya
No don't worry about the extra points 200 is more than enough. :)
a first loop printing out the value in hex "%3.3x ", and a second loop as you have now.