0_0_21591089_10096.cpp:15:19: error: stray '#' in program
if (dir[0] == 'N'){
^
0_0_21591089_10096.cpp:15:25: error: stray '#' in program
if (dir[0] == 'N'){
^
0_0_21591089_10096.cpp:19:19: error: stray '#' in program
++x, dir[0]='S';
^
0_0_21591089_10096.cpp:19:25: error: stray '#' in program
++x, dir[0]='S';
^
0_0_21591089_10096.cpp:21:24: error: stray '#' in program
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:21:30: error: stray '#' in program
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:25:19: error: stray '#' in program
--x, dir[0]='N';
^
0_0_21591089_10096.cpp:25:25: error: stray '#' in program
--x, dir[0]='N';
^
0_0_21591089_10096.cpp:27:24: error: stray '#' in program
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:27:30: error: stray '#' in program
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:31:19: error: stray '#' in program
++y, dir[0]='E';
^
0_0_21591089_10096.cpp:31:25: error: stray '#' in program
++y, dir[0]='E';
^
0_0_21591089_10096.cpp:37:19: error: stray '#' in program
--y, dir[0]='W';
^
0_0_21591089_10096.cpp:37:25: error: stray '#' in program
--y, dir[0]='W';
^
0_0_21591089_10096.cpp:42:18: error: stray '#' in program
if (dir[0] == 'N')
^
0_0_21591089_10096.cpp:42:24: error: stray '#' in program
if (dir[0] == 'N')
^
0_0_21591089_10096.cpp:43:14: error: stray '#' in program
dir[0] = 'W';
^
0_0_21591089_10096.cpp:43:20: error: stray '#' in program
dir[0] = 'W';
^
0_0_21591089_10096.cpp:44:23: error: stray '#' in program
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:44:29: error: stray '#' in program
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:45:14: error: stray '#' in program
dir[0] = 'E';
^
0_0_21591089_10096.cpp:45:20: error: stray '#' in program
dir[0] = 'E';
^
0_0_21591089_10096.cpp:46:23: error: stray '#' in program
else if (dir[0] == 'W')
^
0_0_21591089_10096.cpp:46:29: error: stray '#' in program
else if (dir[0] == 'W')
^
0_0_21591089_10096.cpp:47:14: error: stray '#' in program
dir[0] = 'S';
^
0_0_21591089_10096.cpp:47:20: error: stray '#' in program
dir[0] = 'S';
^
0_0_21591089_10096.cpp:49:14: error: stray '#' in program
dir[0] = 'N';
^
0_0_21591089_10096.cpp:49:20: error: stray '#' in program
dir[0] = 'N';
^
0_0_21591089_10096.cpp: In member function 'void node::run()':
0_0_21591089_10096.cpp:15:20: error: lvalue required as unary '&' operand
if (dir[0] == 'N'){
^
0_0_21591089_10096.cpp:15:22: error: expected ')' before ';' token
if (dir[0] == 'N'){
^
0_0_21591089_10096.cpp:15:23: error: 'N' was not declared in this scope
if (dir[0] == 'N'){
^
0_0_21591089_10096.cpp:15:29: error: expected primary-expression before ')' token
if (dir[0] == 'N'){
^
0_0_21591089_10096.cpp:21:4: error: 'else' without a previous 'if'
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:21:25: error: lvalue required as unary '&' operand
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:21:27: error: expected ')' before ';' token
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:21:28: error: 'S' was not declared in this scope
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:21:34: error: expected primary-expression before ')' token
else if (dir[0] == 'S'){
^
0_0_21591089_10096.cpp:27:4: error: 'else' without a previous 'if'
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:27:25: error: lvalue required as unary '&' operand
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:27:27: error: expected ')' before ';' token
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:27:28: error: 'W' was not declared in this scope
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:27:34: error: expected primary-expression before ')' token
else if (dir[0] == 'W'){
^
0_0_21591089_10096.cpp:33:4: error: 'else' without a previous 'if'
else{
^
0_0_21591089_10096.cpp:37:20: error: lvalue required as unary '&' operand
--y, dir[0]='W';
^
0_0_21591089_10096.cpp: In member function 'void node::change()':
0_0_21591089_10096.cpp:42:19: error: lvalue required as unary '&' operand
if (dir[0] == 'N')
^
0_0_21591089_10096.cpp:42:21: error: expected ')' before ';' token
if (dir[0] == 'N')
^
0_0_21591089_10096.cpp:42:22: error: 'N' was not declared in this scope
if (dir[0] == 'N')
^
0_0_21591089_10096.cpp:42:28: error: expected primary-expression before ')' token
if (dir[0] == 'N')
^
0_0_21591089_10096.cpp:43:18: error: 'W' was not declared in this scope
dir[0] = 'W';
^
0_0_21591089_10096.cpp:44:3: error: 'else' without a previous 'if'
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:44:24: error: lvalue required as unary '&' operand
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:44:26: error: expected ')' before ';' token
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:44:27: error: 'S' was not declared in this scope
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:44:33: error: expected primary-expression before ')' token
else if (dir[0] == 'S')
^
0_0_21591089_10096.cpp:45:18: error: 'E' was not declared in this scope
dir[0] = 'E';
^
0_0_21591089_10096.cpp:46:3: error: 'else' without a previous 'if'
else if (dir[0] == 'W')
^
0_0_21591089_10096.cpp:46:24: error: lvalue required as unary '&' operand
else if (dir[0] == 'W')
^
0_0_21591089_10096.cpp:46:26: error: expected ')' before ';' token
else if (dir[0] == 'W')
^
0_0_21591089_10096.cpp:46:33: error: expected primary-expression before ')' token
else if (dir[0] == 'W')
^
0_0_21591089_10096.cpp:48:3: error: 'else' without a previous 'if'
else
^
0_0_21591089_10096.cpp:49:15: error: lvalue required as unary '&' operand
dir[0] = 'N';
^
|