vc++6.0下结构体初始化问题

#define N 100
typedef struct infor2{
long int students_number;
char phonenumber[13];
char adress[20];
int borrow_number;
long int number[3];
long int lend_time[3];
int owe_money;
}BORROW;
BORROW borrow[N]={
{20150001,"","",2,{19800000,19415487},{20160315,20160421},},
{20150002,"","",2,{19702514,19625472,},{20160506,20160502,},},
{20150003,"","",1,{19700025,,},{20160501,,},},
{20150004,"","",3,{19502145,19951547,19425041},{20160515,20160524,20160524},},
{20150005,"","",0,{},{},},
{20150006,"","",0,{},{},},
{20150007,"","",0,{},{},},
{20150008,"","",0,{},{},},
{20150009,"","",0,{},{},},
{20150010,"","",0,{},{},}
};
codeblocks下没问题,vc++6.0就报错,怎么回事啊

 错误如下

E:\ACM\12345\111111111111.cpp(57) : error C2059: syntax error : ','
E:\ACM\12345\111111111111.cpp(57) : error C2143: syntax error : missing ';' before '}'
E:\ACM\12345\111111111111.cpp(57) : error C2143: syntax error : missing ';' before '}'
E:\ACM\12345\111111111111.cpp(58) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(58) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(58) : error C2143: syntax error : missing ';' before ','
E:\ACM\12345\111111111111.cpp(59) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(59) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(59) : error C2143: syntax error : missing ';' before ','
E:\ACM\12345\111111111111.cpp(60) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(60) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(60) : error C2143: syntax error : missing ';' before ','
E:\ACM\12345\111111111111.cpp(61) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(61) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(61) : error C2143: syntax error : missing ';' before ','
E:\ACM\12345\111111111111.cpp(62) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(62) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(62) : error C2143: syntax error : missing ';' before ','
E:\ACM\12345\111111111111.cpp(63) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(63) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(63) : error C2143: syntax error : missing ';' before ','
E:\ACM\12345\111111111111.cpp(64) : error C2143: syntax error : missing ';' before '{'
E:\ACM\12345\111111111111.cpp(64) : error C2447: missing function header (old-style formal list?)
E:\ACM\12345\111111111111.cpp(65) : error C2143: syntax error : missing ';' before '}'
E:\ACM\12345\111111111111.cpp(65) : error C2143: syntax error : missing ';' before '}'
E:\ACM\12345\111111111111.cpp(65) : error C2143: syntax error : missing ';' before '}'

两者用的编译器不一样,codeblocks用的GCC
改成下面这样试试:

 #define N 100
typedef struct infor2{
    long int students_number;
    char phonenumber[13];
    char adress[20];
    int borrow_number;
    long int number[3];
    long int lend_time[3];
    int owe_money;
}BORROW;
BORROW borrow[N]={
    {20150001,"","",2,{19800000,19415487},{20160315,20160421},},
    {20150002,"","",2,{19702514,19625472,},{20160506,20160502,},},
    {20150003,"","",1,{19700025,},{20160501,},},
    {20150004,"","",3,{19502145,19951547,19425041},{20160515,20160524,20160524},},
    {20150005,"","",0,{},{},},
    {20150006,"","",0,{},{},},
    {20150007,"","",0,{},{},},
    {20150008,"","",0,{},{},},
    {20150009,"","",0,{},{},},
    {20150010,"","",0,{},{},}
};

vc6的版本相当老了,很多语言特性已经被修改,不推荐使用

确实vc的版本有些老了,可能是初始化中最后一个空逗号的问题