saveing moves

I was wondering how to save a move (from the tic tac toe game) to a specific area in an array. For example when the player makes his first move i want to store the number of the square that he chose in the array moves[0] (while moves[9] has goes from 0-9) and so on like that? Any suggestions? Understand the question?

I think I do. R u saying make two arrays. One for the players and one for the board, and then say that if it is player1s turn then use the board array (for the first move it would be board[0]) to equal player1. Witch mean it would be player1's turn. If not then do the same for player two. Right? But do i actually write "empty" in the board array when i delcare it?

Ok I get that. I know how to set the moves to the two differant players. But what I dont get is how I can save the moves so that I can recall them later on to check to see who won. Unless what your telling me will do that and Im juz not getting it, any suggestions?

Just set up an algorithm which will loop through your tictac array and check for wins. Three in a row is all you need. So if board[0] && board[1] && board[2] are all equal to the same player, they have won.