#include
#include
enum nominal{ subject, be, verb, object,adv,adj};
class word{
public:
nominal nom;
string wo;
};
这是代码
错误 3 error C2039: “wo”: 不是“word”的成员 d:\作业 1\my_ai0.0\my_ai0.0\word.cpp 29 1 My_AI0.0
错误 5 error C2146: 语法错误: 缺少“;”(在标识符“wo”的前面) d:\作业 1\my_ai0.0\my_ai0.0\word.h 7 1 My_AI0.0
这是错误
跪求!!!谢谢!!!