/in/foo.cc: In function 'int main()':
/in/foo.cc:33:33: error: 'elseif' was not declared in this scope
33 | elseif(row==1) {
| ^~~~~~
/in/foo.cc:42:33: error: expected '}' before 'else'
42 | else {
| ^~~~
/in/foo.cc:29:50: note: to match this '{'
29 | } else if (digit == '3') {
| ^
/in/foo.cc:47:23: error: 'line' was not declared in this scope; did you mean 'link'?
47 | cout<<line<<endl;
| ^~~~
| link
/in/foo.cc: At global scope:
/in/foo.cc:49:9: error: 'return0' does not name a type
49 | return0;
| ^~~~~~~
/in/foo.cc:50:1: error: expected declaration before '}' token
50 | }
| ^