struct box
{
char word[200][200];
char meaning[200][200];
int count;
};
struct root {
box *alphabets[26];
};
struct root *stem;
struct box *access;
void init(){
int sizeofBox = sizeof(struct box);
for(int i = 0 ; i<= 25; i++){
struct box *temp =(struct box*)( malloc(sizeofBox));
temp->count = 0;
root->alphabets[i] = temp; //error line
}
}
错误:'->' 标记之前的预期不合格 ID
如何修复此错误。谁能解释一下这是什么...??