C++ argument of type * is incompatible with parameter of type **
This is what "argument of type ''char*'' is incompatible with parameter of type ''char**''" means. To fix this, simply pass in a char **; you can do this by passing in the address of newArr
Ver detalles