今天看到一段程序中有这样几句:
...
int i;
int j;
int off = 0;
... for(j=1,off=0;j<ImageHeight-1;j++)
{
for(i=1;i<ImageWidth-1;i++,off)
{
...
}
}不知道for循环语句中这两个off是代表什么意思呢?
...
int i;
int j;
int off = 0;
... for(j=1,off=0;j<ImageHeight-1;j++)
{
for(i=1;i<ImageWidth-1;i++,off)
{
...
}
}不知道for循环语句中这两个off是代表什么意思呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货