Thanks! That did it. :) I didn't understand what you were saying before.
I did that because Adak suggested to create an array of 4x4 and use only the 1-3 rows/columns. That's why I removed the...
Type: Posts; User: Parrot
Thanks! That did it. :) I didn't understand what you were saying before.
I did that because Adak suggested to create an array of 4x4 and use only the 1-3 rows/columns. That's why I removed the...
Thanks for the input, Tclausex, but I'm still getting the error after fixing what you pointed out. Have you tried running the program and if so, do you get the same error?
Also, I was planning to...
Okay, I made those changes but still get the error. Here's my current code.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/*int singleturn(char board[4][4]);*/
char...
Thanks for the quick reply! Those are some really good suggestions. Also, I'm definitely not done with the game yet. I plan to add in a system to check if the player has won, and I might even add in...
Hey, I'm trying to write a simple tic-tac-toe game but keep running into one error that I can't figure out. The error is Unhandled exception at 0x00f716cb in tictac.exe: 0xC0000005: Access violation...
Ohhh, so apparently I needed a 1.0 instead of 1 in my equation.
I tried it and it seems to work fine. I knew it was something simple like that! Thanks! :D
Hey guys, I'm working on what should be a fairly simple program. This is a function I'm having trouble with. It's probably some stupid mistake but if so I can't see it. I want the function to set...