How to dynamically allocate memory for an array of string?
i.e. char **string
Thanks
How to dynamically allocate memory for an array of string?
i.e. char **string
Thanks
i think somthing like that:
char **string;
string = (char**)malloc(sizeof(char**));
Read this for 2-d array help.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
The link is useful, thanks a lot.