Hi guys,

I made a version of tic tac toe from a book i needed to change some of the code to get it to work but it was only a consol program.

So i decided to try to use sdl to make it better ive changed the the code slightly
to make it work with sdl and instead of displaying an empty board at first it displays pieces in a zigzag way?

i have a string stream in some of my functions but i havent wrote them into the main program, i mean i dont display them yet.

i need to get the game to work then ill do that but when i run it it freezes and wont exit, i have to end prosses with task manager to get rid of it i just finished writing it so it may be somthing simple but like some people im easily annoyed when a plan doesnt come together

i think maybe the string stream creates the problems?
my code is very long the "original" book functions are under main and the sdl functions are above it dont ask why beacause i dont know it just ended up that way
im quite lazy so i adaped my last game to accept this new tic tac toe code
i appologise for the bad code hope you can read it
well id apreciate any help