|
|
request for member ‘letter’ in ‘x’, which is of non-class type ‘Dict_Node*’ |
Dict_Node
pointer called "x", yet use it as if it were an actual object. Either declare it as an object (by removing the '*' in the declaration) or dereference it as a pointer (using '->' instead of '.' to access functions/variables). If you declare it as a pointer, you will have to either dynamically allocate it using new
or assign it to the address of an existing object.