c语言编译时出现:错误 noname.c 57: 在定义中有太多的类型 ,请问下面哪里有错误 啊?
structBMP_Head{charid[2];unsignedlongfilelength;intreserved1;intreserved2;unsignedlon...
struct BMP_Head
{ char id[2];
unsigned long filelength;
int reserved1;
int reserved2;
unsigned long imageposition;
unsigned long headlength;
unsigned long imagewidth;
unsigned long imageheight;
int bitplane;
int colorbit;
unsigned long compressmethod;
unsigned long imagelength;
unsigned long horizontaldefinition;
unsigned long verticaldefinition;
unsigned long usedcolornumber;
unsigned long importantcolornumber;
}bmp_head; 展开
{ char id[2];
unsigned long filelength;
int reserved1;
int reserved2;
unsigned long imageposition;
unsigned long headlength;
unsigned long imagewidth;
unsigned long imageheight;
int bitplane;
int colorbit;
unsigned long compressmethod;
unsigned long imagelength;
unsigned long horizontaldefinition;
unsigned long verticaldefinition;
unsigned long usedcolornumber;
unsigned long importantcolornumber;
}bmp_head; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询