struct Trie {
Trie letters [27];
bool hasLetter;
bool EOW;
...
}
error: field ‘letters’ has incomplete type
I am getting this error and have not been about to figure out what's wrong. I am trying to create a Trie using an array and I'm using g++ compiler. Any help is much appreciated.