0_0_32355139_29454.cpp:5:2: error: 'string' does not name a type
string a;
^
0_0_32355139_29454.cpp: In function 'int main()':
0_0_32355139_29454.cpp:15:2: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_32355139_29454.cpp:21:14: error: 'struct clock' has no member named 'a'
cin>>m[i].a;
^
0_0_32355139_29454.cpp:22:23: error: 'struct clock' has no member named 'a'
m[i].c=6*(10*(m[i].a[3]-'0')+m[i].a[4]-'0');
^
0_0_32355139_29454.cpp:22:38: error: 'struct clock' has no member named 'a'
m[i].c=6*(10*(m[i].a[3]-'0')+m[i].a[4]-'0');
^
0_0_32355139_29454.cpp:23:20: error: 'struct clock' has no member named 'a'
m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
^
0_0_32355139_29454.cpp:23:35: error: 'struct clock' has no member named 'a'
m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
^
0_0_32355139_29454.cpp:23:58: error: 'struct clock' has no member named 'a'
m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
^
0_0_32355139_29454.cpp:23:73: error: 'struct clock' has no member named 'a'
m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
^
0_0_32355139_29454.cpp:23:119: error: 'struct clock' has no member named 'a'
m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
^
0_0_32355139_29454.cpp:23:134: error: 'struct clock' has no member named 'a'
m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
^
0_0_32355139_29454.cpp:25:21: error: 'struct clock' has no member named 'a'
m[i].e==10*(m[i].a[0]-'0')+m[i].a[1]-'0';
^
0_0_32355139_29454.cpp:25:36: error: 'struct clock' has no member named 'a'
m[i].e==10*(m[i].a[0]-'0')+m[i].a[1]-'0';
^
0_0_32355139_29454.cpp:67:5: error: 'cout' was not declared in this scope
cout<<m[i].a<<endl;
^
0_0_32355139_29454.cpp:67:16: error: 'struct clock' has no member named 'a'
cout<<m[i].a<<endl;
^
0_0_32355139_29454.cpp:67:19: error: 'endl' was not declared in this scope
cout<<m[i].a<<endl;
^
|