定义指针字符串:char*v->VOD_REQUEST_ID=“123455”
分配指针字符串地址: char *VOD_SERVER_REQUEST_DATA=(char *)malloc(strlen(v->VOD_REQUEST_ID)+1) ;
复制 ,v->VOD_REQUEST_ID: strcpy(VOD_SERVER_REQUEST_DATA,v->VOD_REQUEST_ID);
strcat(VOD_SERVER_REQUEST_DATA,",");
strcat(VOD_SERVER_REQUEST_DATA,"5");
printf(“VOD_SERVER_REQUEST_DATA:%S”,VOD_SERVER_REQUEST_DATA);
执行结果:123455,5