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:16:14: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | else if(v[b]==-1){
| ^
memory.cpp:17:7: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | v[b]=i%50+1;
| ^