CAarry array;
for(int x=0;x<20;x++)
{
array.SetAt(x,array.GetAt(x))=array.SetAt(x+1,array.GetAt(x+1));
}
E:\test\testView.cpp(144) : error C2120: 'void' illegal with all types
E:\test\testView.cpp(144) : error C2106: '=' : left operand must be l-value
for(int x=0;x<20;x++)
{
array.SetAt(x,array.GetAt(x))=array.SetAt(x+1,array.GetAt(x+1));
}
E:\test\testView.cpp(144) : error C2120: 'void' illegal with all types
E:\test\testView.cpp(144) : error C2106: '=' : left operand must be l-value
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货