#include "stdio.h" #include "windows.h" void main() { int a[512]={0}; FILE *fp; if((fp=fopen("lena.raw","r"))==NULL) printf( "The file 'lena.raw' was not opened\n" ); else printf("The file 'lena.raw' has been opened\n" ); BYTE pData[512*512]; fread(pData,1,512*512,fp); for (int n=0;n