memory.cpp: In function 'void play()':
memory.cpp:11:8: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | if(v[a]!=-1) faceup(v[a]);
| ^
memory.cpp:11:25: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | if(v[a]!=-1) faceup(v[a]);
| ^
memory.cpp:13:6: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | v[a]=i;
| ^
memory.cpp:18:9: warning: array subscript has type 'char' [-Wchar-subscripts]
18 | if(v[b]==-1){
| ^
memory.cpp:19:7: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | v[b]=(i+1)%50;
| ^