Hi Im trying to create a game where ive got to create a 3 x 3 array and i've got to get the user to guess the numbers in the array (1-9) I think Ive got the rand array and integer array right (not sure though) but im stuck on the memory array where i want the program to remember where the user has already gone and if the user doesnt get it in 9 goes ,the program stops. My code isn't compiling at the moment so if anyone has some spare time to have a look at my code I'd very much appreshiate it.
line 44: your setting an array as an lvalue instead of its elements
same with line 45, and for some reason you have a random +1 at the end which wont compile. line 61 doesnt make any sense. you are a)trying to print an array object and not the elements of it b) using to tell the turn when you have a counter to tell you the turn
I dont know if you can help me but with line 61 im trying to get the user to select a number for a column and row so that the user can guess a number 1-9 what number is contained below the "?", do you know how can go about it?