Quote:
Originally Posted by
madfox
now how to add crc which is hexadecimal with the string.
What format is the data in? What protocol do you use to exchange the data? You need to be much more specific.
So far all I can say from what you say is
memcpy(p+1+strlen(p),crc,sizeof(crc));
which I am sure is not what you are intending....