0_0_21591786_11465.cpp:16:28: error: stray '#' in program
x = x * 10 + ch - '0';
^
0_0_21591786_11465.cpp:16:34: error: stray '#' in program
x = x * 10 + ch - '0';
^
0_0_21591786_11465.cpp:22:25: error: stray '#' in program
if(x == 0) putchar('0');
^
0_0_21591786_11465.cpp:22:31: error: stray '#' in program
if(x == 0) putchar('0');
^
0_0_21591786_11465.cpp:26:37: error: stray '#' in program
buffer[p++] = x % 10 + '0';
^
0_0_21591786_11465.cpp:26:43: error: stray '#' in program
buffer[p++] = x % 10 + '0';
^
0_0_21591786_11465.cpp:31:14: error: stray '#' in program
putchar('\n');
^
0_0_21591786_11465.cpp:31:5: error: stray '\' in program
putchar('\n');
^
0_0_21591786_11465.cpp:31:21: error: stray '#' in program
putchar('\n');
^
0_0_21591786_11465.cpp: In function 'void scan_d(int&)':
0_0_21591786_11465.cpp:16:29: error: lvalue required as unary '&' operand
x = x * 10 + ch - '0';
^
0_0_21591786_11465.cpp: In function 'void print_d(int)':
0_0_21591786_11465.cpp:22:26: error: lvalue required as unary '&' operand
if(x == 0) putchar('0');
^
0_0_21591786_11465.cpp:22:35: error: expected primary-expression before ')' token
if(x == 0) putchar('0');
^
0_0_21591786_11465.cpp:23:5: error: 'else' without a previous 'if'
else {
^
0_0_21591786_11465.cpp:26:38: error: lvalue required as unary '&' operand
buffer[p++] = x % 10 + '0';
^
0_0_21591786_11465.cpp:31:15: error: lvalue required as unary '&' operand
putchar('\n');
^
0_0_21591786_11465.cpp:31:25: error: expected primary-expression before ')' token
putchar('\n');
^
|