www.pudn.com > jpeg1.zip > FLIB24.C


#include  
#include  
#include  
 
main() 
{ 
FILE	*fp; 
int i,i1,i2,i3,row=0,col=0,trow=0; 
int gd=DETECT,gm; 
char by[72]; 
long length=10; 
 
initgraph(&gd,&gm,"c:\\tc"); 
if ((fp=fopen("jpeg.ov1","rb"))==NULL) 
	{ 
	closegraph(); 
          puts("\7 can't open file"); 
	exit(0); 
	} 
fseek(fp,0,2); 
length=ftell(fp)/72l; 
fseek(fp,0,0); 
for(i=0;i610) 
		   {row=0;trow+=28; 
		if(trow>450){getch();cleardevice();trow=0;} 
		} 
	} 
getch(); 
closegraph(); 
} 
 
int getbit(unsigned char c,int n) 
{return((c>>n)&1); 
}