Main.cc:2:1: error: ‘usnig’ does not name a type usnig namespace std; ^~~~~ Main.cc: In function ‘int main()’: Main.cc:8:2: error: ‘cin’ was not declared in this scope cin>>n; ^~~ Main.cc:8:2: note: suggested alternative: In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:75:0, from Main.cc:1: /usr/include/c++/7/iostream:60:18: note: ‘std::cin’ extern istream cin; /// Linked to standard input ^~~ Main.cc:14:16: warning: comparison with string literal results in unspecified behavior [-Waddress] if(b[i][j]=="@") ^~~ Main.cc:14:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] Main.cc:32:23: warning: comparison with string literal results in unspecified behavior [-Waddress] if(b[i-1+y][j]=="*") ^~~ Main.cc:32:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] Main.cc:35:20: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive] b[i-1+y][j]="@"; ^~~ Main.cc:38:23: warning: comparison with string literal results in unspecified behavior [-Waddress] if(b[i][j-1+y]=="*") ^~~ Main.cc:38:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] Main.cc:41:20: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive] b[i][j-1+y]="@"; ^~~ Main.cc:49:2: error: ‘cout’ was not declared in this scope cout<& __os) ^~~~