how do I make the file just stop
for example I'm writing tic tac toe and after every move I want the program to check to see if either side has won
if it checks and sees that a side has won it sets a variable 'win = 1'
so now I want to do
If (win==1)
End program
but I don't know how to end the program
maybe I should use a goto statement, but I don't know how those work either
anyone?