星期五, 5月 07, 2004

CRC16 : need a verify tool - write in wxWindows

CRC16_0

pretty interesting...

A C function called by C++ : the C function prototyping ...

extern "C" -prototype-of-c-function;

Example:

[CRC.C]

int CRC16(char *data,int datalen)
{
................
}


[Figurout.cpp]

extern "C" int CRC16(char *.int);

void Figutout::OnReflash(void)
{
char dd[100];
int k;
..........
k= CRC16(dd,100);
........
}

沒有留言:

網誌存檔