i wrote the code of tic tac but it has an error:
fatal error C1004: unexpected end-of-file found
please help me

have you but a closing bracket at the end of your program ?

Can you please post the code that is generating this error?

i wrote the code of tic tac but it has an error:
fatal error C1004: unexpected end-of-file found
please help me

If you want help fixing your code, you have to share your code. Your post gives us absolutely nothing to work with.

Some compilers don't like it when the source file does not end with at least one empty line. See MSDN.

>> Some compilers don't like it when the source file does not end with at least one empty line. See MSDN.

yes just hit the enter at the last line and try again.

If it doesn't work ,then you can clean all , restart the computer and try again building again.These things are normal when working with something called compilers.
You welcome.