VC BMP写字方法(绝对好使)
char bmppath[]="1.bmp"; FILE *fp=fopen(bmppath,"rb"); if(fp==0) return ; fseek(fp,sizeof(BITMAPFILEHEADER),0); BITMAPINFOHEADER head; fread(&head,sizeof(BITMAPINFOHEADER),1,fp); int bmpHeight=head.b
原创
2009-08-22 15:00:00 ·
1616 阅读 ·
1 评论