memory.cpp: In function 'void play()':
memory.cpp:9:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(location[letter]!=0)
^
memory.cpp:10:35: warning: array subscript has type 'char' [-Wchar-subscripts]
faceup(location[letter]); //As you had the location of its pair,you face it up too
^
memory.cpp:12:28: warning: array subscript has type 'char' [-Wchar-subscripts]
location[letter]=i; //Store the location of that letter
^
memory.cpp:14:31: warning: array subscript has type 'char' [-Wchar-subscripts]
if(location[letter]!=0) continue; //That letter was already seen
^
memory.cpp:16:32: warning: array subscript has type 'char' [-Wchar-subscripts]
location[letter]=i+1;
^