有个错误是啥?为什么不能这样赋值 error C2078: too many initializers
有个错误是啥?为什么不能这样赋值 error C2078: too many initializers
日期:2013-06-17 21:52:20 人气:1
# include
struct a{
int x;
int y;
};
struct b{
struct a sss[3];
}hus[10]=
{
{1,2,3,4,5,6 }, //+++++++++++++++++=错误地方,你加太多大括号了
{7,8,9,0,11,12}
};
void main()
{
printf("%d %d\n",
hus[0].sss[0].x,hus[0].sss[