memory.cpp: In function 'void play()':
memory.cpp:19:15: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | if(last[a] != 0){
| ^
memory.cpp:22:26: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | t = faceup(last[a]);
| ^
memory.cpp:21:15: warning: variable 't' set but not used [-Wunused-but-set-variable]
21 | char t, u;
| ^
memory.cpp:21:18: warning: variable 'u' set but not used [-Wunused-but-set-variable]
21 | char t, u;
| ^
memory.cpp:26:18: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | }else last[a] = pont1;
| ^
memory.cpp:28:15: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | if(last[b] != 0){
| ^
memory.cpp:31:26: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | t = faceup(last[b]);
| ^
memory.cpp:30:15: warning: variable 't' set but not used [-Wunused-but-set-variable]
30 | char t, u;
| ^
memory.cpp:30:18: warning: variable 'u' set but not used [-Wunused-but-set-variable]
30 | char t, u;
| ^
memory.cpp:35:18: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | }else last[b] = pont2;
| ^
memory.cpp:9:37: warning: unused variable 'mark' [-Wunused-variable]
9 | int pont1=1, pont2=2, last[100], mark[55], cont=0;
| ^~~~