level 1
else if(btGray = 0)then
begin
for nAngle := 0 to nMaxAngle-1 do
begin
nDist := Round(Abs(nCol*cos(nAngle*PI/180.0) +
nRow*sin(nAngle*PI/180.0)));
Inc(arrTransArea[nDist*nMaxAngle + nAngle]);
end;
end;
这段代码中Inc(arrTransArea[nDist*nMaxAngle + nAngle]);这句是要实现什么呢?
2015年09月11日 07点09分
1
吧务
level 14
你知道Inc(arrTransArea[1])是要实现什么吗?
2015年09月11日 09点09分
2
level 1
inc(a,n) --》a:=a+n,n默认为1,即加1,dec(a,n) ,n默认为1 a:=a-n;
2015年09月12日 06点09分
3