|
|
z it thinks you mean a variable or something. If you want the char value z you have to put single quotes around 'z'. |
|
playgamez()? There is no effect for that here and I am not sure you really need cin.get(); anyway. You also use it on line 29. This is used as a portable alternative to stop the console from closing after program termination. No point using it here.char moveto twice and although it will compile I guess you didn't intend to use a global (line 5) and a local (line 23 inside main()) version.