P
Philip.J.Yoon
Hello,
I have two functions:
void function1(char* const names[]);
void function2(const char** names)
{
//do other stuff
function1(names);
//do more stuff
}
My compiler (VS2005 C++) gives me "cannot convert parameter 1 from
const char** to char * const[]", which I'd expect. My question is how
do I convert from const char** to char* const[]? It's been a while
since I've programmed in C++.
Thanks.
I have two functions:
void function1(char* const names[]);
void function2(const char** names)
{
//do other stuff
function1(names);
//do more stuff
}
My compiler (VS2005 C++) gives me "cannot convert parameter 1 from
const char** to char * const[]", which I'd expect. My question is how
do I convert from const char** to char* const[]? It's been a while
since I've programmed in C++.
Thanks.