const char を char に変換しようとしています...ここに私のコードがあります:
bool check(const char* word)
{
char *temp[1][50];
temp = word;
return true;
}
const char が渡された関数です。その const char を char に変換する必要があります。このコードを実行すると、コンパイラは次のエラーをスローします。
dictionary.c:28:6: error: array type 'char *[1][50]' is not assignable
temp = word;
この変換を正しく完了するにはどうすればよいですか?
ありがとう、ジョシュ