0_0_21595082_29599.cpp:16:12: error: stray '#' in program
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:16:18: error: stray '#' in program
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:16:33: error: stray '#' in program
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:16:39: error: stray '#' in program
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:23:13: error: stray '#' in program
month[2]='\0';
^
0_0_21595082_29599.cpp:23:3: error: stray '\' in program
month[2]='\0';
^
0_0_21595082_29599.cpp:23:20: error: stray '#' in program
month[2]='\0';
^
0_0_21595082_29599.cpp:26:11: error: stray '#' in program
day[2]='\0';
^
0_0_21595082_29599.cpp:26:3: error: stray '\' in program
day[2]='\0';
^
0_0_21595082_29599.cpp:26:18: error: stray '#' in program
day[2]='\0';
^
0_0_21595082_29599.cpp:30:12: error: stray '#' in program
year[i]='\0';
^
0_0_21595082_29599.cpp:30:3: error: stray '\' in program
year[i]='\0';
^
0_0_21595082_29599.cpp:30:19: error: stray '#' in program
year[i]='\0';
^
0_0_21595082_29599.cpp: In function 'int main()':
0_0_21595082_29599.cpp:16:13: error: lvalue required as unary '&' operand
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:16:15: error: expected ')' before ';' token
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:16:22: error: expected primary-expression before ')' token
m=(c[0]-'0')*10+c[1]-'0';
^
0_0_21595082_29599.cpp:23:14: error: lvalue required as unary '&' operand
month[2]='\0';
^
0_0_21595082_29599.cpp:26:12: error: lvalue required as unary '&' operand
day[2]='\0';
^
0_0_21595082_29599.cpp:30:13: error: lvalue required as unary '&' operand
year[i]='\0';
^
|