64,650
社区成员
发帖
与我相关
我的任务
分享
class CMyPoint;
class Step
{
public:
CMyPoint pt[10];//出错行,显示有2个错误
//(1)error C2146: 语法错误: 缺少“;”(在标识符“pt”的前面)
//(2)error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
int num //表示有多少个走法
void AddStep(int x,int y); //将(x,y)添加进走法中
Step(void);
~Step(void);
};