0_0_20037829_27461.cpp:5:8: error: expected identifier before numeric constant
int c=[120],tend[120],num[120],tempc[120],
^
0_0_20037829_27461.cpp: In lambda function:
0_0_20037829_27461.cpp:5:12: error: expected '{' before ',' token
int c=[120],tend[120],num[120],tempc[120],
^
0_0_20037829_27461.cpp: At global scope:
0_0_20037829_27461.cpp:5:12: error: invalid user-defined conversion from '<lambda()>' to 'int' [-fpermissive]
0_0_20037829_27461.cpp:5:11: note: candidate is: <lambda()>::operator void (*)()() const <near match>
int c=[120],tend[120],num[120],tempc[120],
^
0_0_20037829_27461.cpp:5:11: note: no known conversion from 'void (*)()' to 'int'
0_0_20037829_27461.cpp:6:1: error: expected unqualified-id before 'int'
int main(int argc, char *argv[])
^
|