Here's one way...
char** DoCharDoublePointer(char* lpString1,char* lpString2)
{
unsigned long len;
char** C;
len=strlen(lpString1);
C=(char**)malloc(sizeof(char**));
//create static pointer to char*
*C=(char*)malloc(len+strlen(lpString2)+2);
//allocate string space plus two termination zeros
strcpy(*C,string1);
//copy the first string
*C=*C+len+1;
//set the char* to point past the first string
strcpy(*C,lpString2);
//copy second string to char*
return C;
//return the char**, which points to the string
//pointer, not the string.
}
Some of the steps may be combined if you want too.
Good luck.