for reading the image which is in bmp. i am reading that same as text file but it does not work.
my code
# include <iostream.h>
# include <fstream.h>
# include <string.h>
using namespace std;
int main()
{
string getcontent;
if string openfile(" image.bmp")
if(openfile.is_open())
{
while(! openfile.eof())
{
getline(openfile, get content);
cout<< get content <<endl;
}
}
}