- 论坛徽章:
- 1
|
char *gjzl(char *module_a,char *module_b,char *module_c,char *module_d,char *js)
{
char gjzls[20];
strcpy(gjzls,module_a);
strcat(gjzls, ":");
strcat(gjzls, module_b);
strcat(gjzls, ":");
strcat(gjzls, module_c);
strcat(gjzls, ":");
strcat(gjzls, module_d);
strcat(gjzls, ":");
js=(char *)gjzls;
printf("a1:%s\n",js);
return &js;
}
char *js;
char *rezl=gjzl(tmp[0],tmp[1],tmp[2],tmp[3],js);
printf("a2:%\n",rezl); |
我这样还是不行。 |
|