/in/foo.cc: In function 'int main()':
/in/foo.cc:31:4: warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14
x=getchar();
^
/in/foo.cc:31:15: error: expected ',' before ';' token
x=getchar();
^
/in/foo.cc:31:15: error: expected identifier before ';' token
/in/foo.cc:31:15: error: expected ']' before ';' token
/in/foo.cc: In lambda function:
/in/foo.cc:31:15: error: expected '{' before ';' token
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:9: error: 'i' was not declared in this scope
step[i][j]=1;
^
/in/foo.cc:34:12: error: 'j' was not declared in this scope
step[i][j]=1;
^
/in/foo.cc:36:9: error: 'i' was not declared in this scope
step[i][j]=0;
^
/in/foo.cc:36:12: error: 'j' was not declared in this scope
step[i][j]=0;
^
/in/foo.cc:37:3: error: expected primary-expression before ']' token
]
^