0_0_34074395_21608.cpp: In function 'int main()':
0_0_34074395_21608.cpp:12:2: error: 'cin' was not declared in this scope
cin>>a;
^
0_0_34074395_21608.cpp:25:23: error: invalid types 'int[int]' for array subscript
s[b+q-1].time=((t[0]-'0')*10+(t[1]-'0'))*3600+((t[3]-'0')*10+(t[4]-'0'))*60+((t[6]-'0')*10+(t[7]-'0'));
^
0_0_34074395_21608.cpp:25:37: error: invalid types 'int[int]' for array subscript
s[b+q-1].time=((t[0]-'0')*10+(t[1]-'0'))*3600+((t[3]-'0')*10+(t[4]-'0'))*60+((t[6]-'0')*10+(t[7]-'0'));
^
0_0_34074395_21608.cpp:25:55: error: invalid types 'int[int]' for array subscript
s[b+q-1].time=((t[0]-'0')*10+(t[1]-'0'))*3600+((t[3]-'0')*10+(t[4]-'0'))*60+((t[6]-'0')*10+(t[7]-'0'));
^
0_0_34074395_21608.cpp:25:69: error: invalid types 'int[int]' for array subscript
s[b+q-1].time=((t[0]-'0')*10+(t[1]-'0'))*3600+((t[3]-'0')*10+(t[4]-'0'))*60+((t[6]-'0')*10+(t[7]-'0'));
^
0_0_34074395_21608.cpp:25:85: error: invalid types 'int[int]' for array subscript
s[b+q-1].time=((t[0]-'0')*10+(t[1]-'0'))*3600+((t[3]-'0')*10+(t[4]-'0'))*60+((t[6]-'0')*10+(t[7]-'0'));
^
0_0_34074395_21608.cpp:25:99: error: invalid types 'int[int]' for array subscript
s[b+q-1].time=((t[0]-'0')*10+(t[1]-'0'))*3600+((t[3]-'0')*10+(t[4]-'0'))*60+((t[6]-'0')*10+(t[7]-'0'));
^
0_0_34074395_21608.cpp:32:17: error: 'NULL' was not declared in this scope
student *stu=NULL;
^
0_0_34074395_21608.cpp:50:17: error: 'NULL' was not declared in this scope
student *stu=NULL;
^
0_0_34074395_21608.cpp:68:17: error: 'NULL' was not declared in this scope
student *stu=NULL;
^
0_0_34074395_21608.cpp:86:17: error: 'NULL' was not declared in this scope
student *stu=NULL;
^
0_0_34074395_21608.cpp:104:2: error: 'cout' was not declared in this scope
cout<<s[0].score<<endl;
^
0_0_34074395_21608.cpp:104:20: error: 'endl' was not declared in this scope
cout<<s[0].score<<endl;
^
|