memory.cpp: In function 'void play()':
memory.cpp:16:11: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | if(vis[a]){
| ^
memory.cpp:17:18: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | faceup(vis[a]);
| ^
memory.cpp:21:8: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | vis[a] = i;
| ^
memory.cpp:24:11: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(vis[b] && b != a){
| ^
memory.cpp:26:20: warning: pointer to a function used in arithmetic [-Wpointer-arith]
26 | faceup[vis[i]];
| ^
memory.cpp:26:20: warning: value computed is not used [-Wunused-value]
26 | faceup[vis[i]];
| ~~~~~~~~~~~~~^
memory.cpp:26:20: warning: statement has no effect [-Wunused-value]