memory.cpp: In function 'void play()':
memory.cpp:10:15: warning: array subscript has type 'char' [-Wchar-subscripts]
10 | if(ap[x] > 3)
| ^
memory.cpp:11:16: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | ap[x] = 0;
| ^
memory.cpp:12:17: warning: array subscript has type 'char' [-Wchar-subscripts]
12 | if(path[x] > 100)
| ^
memory.cpp:13:18: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | path[x] = 0;
| ^
memory.cpp:14:18: warning: array subscript has type 'char' [-Wchar-subscripts]
14 | if(path2[x] > 100)
| ^
memory.cpp:15:19: warning: array subscript has type 'char' [-Wchar-subscripts]
15 | path2[x] = 0;
| ^
memory.cpp:16:12: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | ap[x]++;
| ^
memory.cpp:17:15: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | if(ap[x] == 1)
| ^