No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi guys again! i want to read a bitmap in this way: please help me!! how can i read the pixels of a bitmap?? #include <iostream> #include <fstream> #include <conio.h> using namespace std; struct bitmap{ int pixel; int black; int white; }; int main(){ bitmap b[400]; ifstream a("a.bmp",ios::binary); int i=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 … |