[Error] request for member 'name' in 'current->DoubleNode::data', which is of non-class type 'EType {aka char}'
时间: 2024-01-25 19:04:28 浏览: 76
This error message indicates that you are trying to access a member called 'name' in a variable called 'current->data', which is of type 'EType' (possibly a typedef for 'char'). This is not allowed because 'EType' is not a class or struct type that has a member named 'name'.
To fix this error, you need to either change the type of 'current->data' to a class or struct type that has a 'name' member, or access a different member that is actually present in the 'EType' type.
阅读全文