A
agangr
Unregistered / Unconfirmed
GUEST, unregistred user!
{
float je
je=100;
ret=ic_read(AREA1,0x1c,4,(unsigned char *)&je);///[red]在这里(unsigned char *)&je 是什么含义呢???????[/red]
ret=ic_write(AREA1,0x1c,4,(unsigned char *)&je);
}
下面为ic_read()和ic_write()的声明原形:
int ic_write(unsigned int area_id,unsigned int startsite,unsigned char size,unsigned char *buff)
int ic_read( unsigned int area_id,unsigned int startsite,unsigned char size,unsigned char *buff)
float je
je=100;
ret=ic_read(AREA1,0x1c,4,(unsigned char *)&je);///[red]在这里(unsigned char *)&je 是什么含义呢???????[/red]
ret=ic_write(AREA1,0x1c,4,(unsigned char *)&je);
}
下面为ic_read()和ic_write()的声明原形:
int ic_write(unsigned int area_id,unsigned int startsite,unsigned char size,unsigned char *buff)
int ic_read( unsigned int area_id,unsigned int startsite,unsigned char size,unsigned char *buff)