I am trying to convert a string to an unsigned char.
The code follows.
char temp[100];
strcpy(temp,"1234");
unsigned char uc[100];
strcpy(uc,temp);
//error C2664: 'strcpy' : cannot convert parameter 1 from 'unsigned char [100]' to 'char *'
Any help would be greatly appreciated.
Thanks.
The code follows.
char temp[100];
strcpy(temp,"1234");
unsigned char uc[100];
strcpy(uc,temp);
//error C2664: 'strcpy' : cannot convert parameter 1 from 'unsigned char [100]' to 'char *'
Any help would be greatly appreciated.
Thanks.