memory.cpp: In function 'void play()':
memory.cpp:13:12: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | ap[x]++;
| ^
memory.cpp:14:15: warning: array subscript has type 'char' [-Wchar-subscripts]
14 | if(ap[x] == 1)
| ^
memory.cpp:15:18: warning: array subscript has type 'char' [-Wchar-subscripts]
15 | path[x] = i;
| ^
memory.cpp:18:29: warning: array subscript has type 'char' [-Wchar-subscripts]
18 | faceup(path[x]);
| ^
memory.cpp:20:29: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | faceup(path[x]);
| ^
memory.cpp:24:15: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(ap[x] == 2)
| ^
memory.cpp:25:15: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
25 | nr++;
| ~~^~