0

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:

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by grando
0

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.

0

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!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.