Main.cc: In lambda function:
Main.cc:10:12: error: expected ‘{’ before ‘[’ token
cin>>[i][j];
^
Main.cc: In function ‘int main()’:
Main.cc:10:12: error: no match for ‘operator[]’ (operand types are ‘main()::’ and ‘int’)
Main.cc: In lambda function:
Main.cc:15:13: error: expected ‘{’ before ‘[’ token
cout>>[j][i];
^
Main.cc: In function ‘int main()’:
Main.cc:15:13: error: no match for ‘operator[]’ (operand types are ‘main()::’ and ‘int’)
Main.cc:7:6: warning: unused variable ‘a’ [-Wunused-variable]
int a[n][m];
^