全局数组
RECT rect[25];
……
i=0;
for(y=0;y<5;y++)
for(x=0;x<5;x++)
{
Rectangle(hdc,cxClient*x/5,cyClient*y/5,cxClient*(x+1)/5,cyClient*(y+1)/5);

    SetRect(&rect[i++],cxClient*x/5,cyClient*y/5,cxClient*(x+1)/5,cyClient*(y+1)/5);
}
总是编译出错 怎么回事啊 
error C2088: '[' : illegal for struct
warning C4047: 'function' : 'struct tagRECT *' differs in levels of indirection from 'int '
warning C4024: 'SetRect' : different types for formal and actual parameter 1
error C2198: 'SetRect' : too few actual parameters
先谢谢各位了