error C4430: missing type specifier в конструкторе структуры
struct BinIntent
{
char Name[MAXNAMESIZE];
unsigned int ExamplesQuantity;
char Response[MAXRESPSIZE];
BinIntent(const Intent& intent)
{
strcpy(Name, intent.getName().c_str());
ExamplesQuantity = intent.getExamplesQuantity();
strcpy(Response, intent.getResponse().c_str());
}
BinIntent() {}
};
Ошибка возникает на строке "BinIntent(const Intent& intent)".