> i have written the code for tic-tac-toe game
> partially.i am stuck at writing the code for "who is
> the winner"? and adding a button to start the new
> game ?please help me out to write the remaining?
That question is almost impossible to answer because you didn't provide two vital pieces of information.
1) What specific problems you're having.
2) Relevant code.
> iam unable to attach the code now;
So, you call the doctor on the phone, say, "I'm not feeling well. Please make me better. I can't come to your office or tell you anything about what's wrong with me now."