c# const char转为char
const char 转 char
const char *string = "asdfghjk";
int in_len = strlen(string);
char *key = (char*)malloc( sizeof(char)*(in_len+1));
strcpy(key,instring);
char *buff = (char*)malloc( sizeof(char)*(in_len+1));
buff =key;
原创
2021-07-29 21:34:53 ·
167 阅读 ·
0 评论