Heavy Metal
October 9th, 2002, 11:29 AM
I have a value which is an unsigned char string and I need to to a comparison with a regular char string. How do I convert one value to the other?
Thanks for any help,
TJ
Thanks for any help,
TJ
|
Click to See Complete Forum and Search --> : How do you convert an unsigned char string to a char string Heavy Metal October 9th, 2002, 11:29 AM I have a value which is an unsigned char string and I need to to a comparison with a regular char string. How do I convert one value to the other? Thanks for any help, TJ stober October 9th, 2002, 12:04 PM just type cast it: unsigned char *string1; char *string2; strcmp( (char *)string1, string2)); codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |