Main.cc: In function ‘int main()’:
Main.cc:29:2: error: ‘nhap_matran1’ was not declared in this scope
nhap_matran1(bang,m,n);
^~~~~~~~~~~~
Main.cc:29:2: note: suggested alternative: ‘nhap_matran’
nhap_matran1(bang,m,n);
^~~~~~~~~~~~
nhap_matran
Main.cc: In function ‘void nhap_matran(char (*)[100], int, int)’:
Main.cc:9:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &bang[j][i]);
~~~~~^~~~~~~~~~~~~~~~~~~
Main.cc: In function ‘int xu_ly(char (*)[100], int, int, int)’:
Main.cc:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Main.cc: In function ‘int main()’:
Main.cc:28:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n , &m , &k);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~