how would I access members englishWord and foreignWord through *d? I've tried:Code:struct wordPair {
char* englishWord;
char* foreignWord;
};
struct dictionary {
struct wordPair ** data;
int nbwords;
int size;
} *d;
d->data->englishWord;
d->data->foreignWord;
but i get errors saying:
error C2223: left of '->englishWord' must point to struct/union
error C2223: left of '->foreignWord' must point to struct/union