PDA

View Full Version : How to convert unsigned char[] to char *?



Gokulnathvc
29th April 2011, 06:49
How to convert unsigned char[] to char *?

wysota
29th April 2011, 07:10
How is this related to Qt?

helloworld
29th April 2011, 08:58
Can't you simply do...



unsigned char a[] = "asdf";
char *b = (char*) a;