char ** intToString (int *a,int lenth){
char ** s = (char **)malloc(lenth*sizeof(int));
for(i<lenth...){
s[i] = (char*)malloc(sizeof(char)*10);//假设每个数不超过10位
sprintf(s[i],"%d",a[i]);
}
return s;
}
int[]动态存入char**(char[][]),布布扣,bubuko.com
原文:http://www.cnblogs.com/qiwu/p/3656564.html