This is the tic tac toe code in C. The logic is the same as that used in the VB.NET part of tic tac toe. I wanted to try out the mouse interface in C, so I took this up.
You can find the file here. Just copy and paste it in turbo C compiler and run it:
The tic tac toe implementation in VB.NET is here:
The first one tells how to design the form and the next part tells how to code it.