I am presently working on a project that requires all the image data of a monochrome bitmap file be stored in a array. I have no idea how to do this.
This is my present code which spits out garbage:
filePointer2 = fopen(temp2,"rb"); //temp2 holds the present filename
//there is 1000 .bmp files to be
//opened and read, this has been
//successfully completed my only
//problem is reading in the "raw
//data" of each bitmap file
cout << tempHolder2;
I'm using MS Visual C++ 6.0. Any advice/help would be great! Please note this idea of reading data from a image file is completely new to me; I have no experience. Thanks in advance!