hi guys!
i want to read a black & white bitmap with c++ and show it as 0 & 1 in console!
do you know how can i do that?
bye the way i want to build a simulated robot that follow a black line that had been drawn in the bitmap!
any idea?
any source code?
any pdf?
thanks for your incoming helps!!!!!!:icon_mrgreen:

Recommended Answers

All 2 Replies

hi guys!
i want to read a black & white bitmap with c++ and show it as 0 & 1 in console!
do you know how can i do that?
bye the way i want to build a simulated robot that follow a black line that had been drawn in the bitmap!
any idea?
any source code?
any pdf?
thanks for your incoming helps!!!!!!:icon_mrgreen:

FYI, it is virtually impossible to read a bitmap in the console.
If you want to learn how to do it otherwise,
www.winprog.org/tutorial is the way to go.

oooooooh no! you misuderstood!! i dont want to show the bitmap in console!! of course it is imposible ! i just want to read every pixel and find its color by finding its code! for example if it was 1 it is black and if it was 0 it is white!

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.