memory.cpp: In function 'void play()':
memory.cpp:14:18: warning: array subscript has type 'char' [-Wchar-subscripts]
14 | if(found[x])
| ^
memory.cpp:16:26: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | faceup(found[x]);
| ^
memory.cpp:21:19: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | found[x]=ptr-1;
| ^
memory.cpp:23:22: warning: array subscript has type 'char' [-Wchar-subscripts]
23 | if(found[y])
| ^
memory.cpp:26:30: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | faceup(found[y]);
| ^
memory.cpp:29:24: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | else found[y]=ptr-1;
| ^