一个结构体声明的疑惑!!struct test{ int i; double j; player *mplayer; (PLAYER 是个类对象)}编译错误了!!!~~~错误26error C2143: 语法错误 : 缺少“;”(在“*”的前面)[解决办法]你在struct之前申明player类了么?[解决办法]在 test 之前,使用class player 或者 struct player;[解决办法]找不到player[解决办法]
player的声明在哪里?结构声明以;结束。