I am trying to convert a const char, to a char... here is my code:
bool check(const char* word)
{
char *temp[1][50];
temp = word;
return true;
}
It is a function with a const char passed in. I need to convert that const char to a char. When I run this code now, the compiler throws up this error:
dictionary.c:28:6: error: array type 'char *[1][50]' is not assignable
temp = word;
How do I correctly complete this conversion?
Thanks, Josh