CPoint point[7][7];问题1:
赋值第一行:无论是
point[0]=(600,280,330,200,870,200,450,260,750,260,300,120,900,120);
错误:"error C2440: '=' : cannot convert from 'const int' to 'class CPoint [7]'"还是
point[0]={(600,280),(330,200),(870,200),(450,260),(750,260),(300,120),(900,120)};
错误:"error C2143: syntax error : missing ';' before '{'"还是
point[0]=((600,280),(330,200),(870,200),(450,260),(750,260),(300,120),(900,120));
错误:"error C2440: '=' : cannot convert from 'const int' to 'class CPoint [7]'"无法赋值,求助
问题2:
提取某个坐标CPoint pt;
pt=point[0][4];
dc.LineTo(pt);会出错吗?
赋值第一行:无论是
point[0]=(600,280,330,200,870,200,450,260,750,260,300,120,900,120);
错误:"error C2440: '=' : cannot convert from 'const int' to 'class CPoint [7]'"还是
point[0]={(600,280),(330,200),(870,200),(450,260),(750,260),(300,120),(900,120)};
错误:"error C2143: syntax error : missing ';' before '{'"还是
point[0]=((600,280),(330,200),(870,200),(450,260),(750,260),(300,120),(900,120));
错误:"error C2440: '=' : cannot convert from 'const int' to 'class CPoint [7]'"无法赋值,求助
问题2:
提取某个坐标CPoint pt;
pt=point[0][4];
dc.LineTo(pt);会出错吗?
难道要用point[0][1]=(128,128)来赋值所有的吗?
要麻烦死了
2、ok