./Main.cpp: In function ‘int main()’:
./Main.cpp:10:70: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c %c %c %c",&buf[i][0],&buf[i][1],&buf[i][2],&buf[i][3]);
^
./Main.cpp:10:70: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
./Main.cpp:10:70: warning: format ‘%c’ expects argument of type ‘char*’, but argument 4 has type ‘int*’ [-Wformat=]
./Main.cpp:10:70: warning: format ‘%c’ expects argument of type ‘char*’, but argument 5 has type ‘int*’ [-Wformat=]
./Main.cpp:13:69: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c %c %c %c \n",&buf[i][0],&buf[i][1],&buf[i][2],&buf[i][3]);
^
./Main.cpp:13:69: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
...