0_0_16148791_22561.cpp: In function 'bool cheak4()':
0_0_16148791_22561.cpp:77:25: error: request for member 'substr' in 'num', which is of non-class type 'char [99]'
int year = atoi(num.substr(3, 4).c_str());
^
0_0_16148791_22561.cpp:78:26: error: request for member 'substr' in 'num', which is of non-class type 'char [99]'
int month = atoi(num.substr(7, 2).c_str());
^
0_0_16148791_22561.cpp:79:24: error: request for member 'substr' in 'num', which is of non-class type 'char [99]'
int day = atoi(num.substr(9, 2).c_str());
^
|