Please help me something, im being confused about that:
a code in c:
what would be the proper way to do this in c++?Code:char **array = (char**)malloc(sizeof(char*) * number);
where the "number" is number of pointer.Code:char **array = new char*[number]; or char **array = new char*[sizeof(char *) * number];
Thanks a lot for help.