0
У меня есть следующий код:Malloc массив указателей ошибки
interface ** rInterfaces[MAX_REACTANS];
_reaction->rInterfaces = (interface **)malloc(MAX_REACTANS * sizeof(interface *));
я получаю сообщение об ошибке сказав:
error: incompatible types when assigning to type ‘struct interface **[10]’ from type ‘struct interface **’
Я не знаю, почему я получаю это. Любая помощь будет оценена по достоинству.
Что такое '_reaction'? Что такое '_reaction-> rInterfaces'? – asaelr