譬如我定义数组的时候能不能写成
int a[3]={1,null,3},
试过好像不可以,请教
如果都要用……
typedef struct
{
int nIntPart;
BOOL bIsEmpty;
} INTwithNULL;
INTwithNULL a[3]={{1,FALSE}, {0,TRUE}, {3,FALSE}};
你可以用ZeroMemory()将数组清 0
这个函数比较方便