I'm new in structs so this question might sound silly, but I cannot see the problem:
I'm defining a struct in the header. This is the struct:
But when I'm trying to use it i get error-messages:Code:// struct to sentencedata struct sentencestruct { int numberOfSentences; char *sentenceArr[10000]; };
Compiling gives this error:Code:void speechrecognitioncontrol() { int tempnt=0; struct sentencestruct speechSentences; signed int pid; int i; ....
control-module.c:380: error: storage size of 'speechSentences' isn't known
Somebody please help..