We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I defined a function in file.c
#include file.h unsigned char IsOWKeyRight(const CARD_KEY *Key);
typedef struct{ unsigned char ID, unsigned char ExtID, unsigned char pwd }CARD_KEY;
extern unsigned char IsOWKeyRight(const CARD_KEY *Key);
hi, try: typedef struct{ unsigned char ID; unsigned char ExtID; unsigned char pwd; }CARD_KEY; Note semicolons please. Regards, Oleg
I am so sorry that I wrote wrong codes here, but the code in the file is write. Thank you, Oleg,anyhow!
Thank you very much, Mike! You reminded me! I included too many *.h files in a file ,so I ignored the sequence. Now it works well, thanks!