So here's the thing, im reading a binary file wich is an image. I think im reading this correctly, so i have the whole binary info i red stored in a buffer and i wanna display this in my screen like '0100010010011' is there a way for me to do this? Help would be much appreciated im on a tight schedule, thanks in advance.
Benkyou
0
Newbie Poster
Recommended Answers
Jump to PostLoop through the buffer byte by byte and send each byte to a function that outputs the binary value of the parameter.
Look up boolean operators & | << >> for this function.
All 4 Replies
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Benkyou
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Benkyou
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.