Hey guys long time no see, i was hoping you could help me with this Homework/ tic-tac-toe game im doing, i just erased what i had because i got so frustrated but no worries i still have work to show but im really not asking someone to write any code, im currently reading and looking for info on structs in "the art and science of C" by Eric S. Roberts but what he says just confuses me more can someone tell me how i can use a struct to read in a matrix for the tic tac toe board positions (that i have now converted to a decimal system and then i should be able to figure our how i can use a struct to read in player info and i'll worry about checking for a winner after each turn later but im thinking i can just use a function call after each turn checking for all possible sequences of the winner? if i could just get some tips in the right way to use a struct more so than what i am doing right now that would be great, thanks guys and or girls

So here's the remainder of my code that i liked and was at least some what confident in
Code:
#include<stdio.h>
#include<stdlib.h>
main()

{
printf("_1_|_2_|_3_\n_4_|_5_|_6_\n_7_|_8_|_9_\n");





return 0;
}

struct player1{

int a;
printf("enter position number");
scanf("%d", a);

}x;

struct player2{

int a;
printf("enter position number");
scanf("%d", a);

}y;
again thanks guy but i do just wanna make it clear because i know there isn't muchcode left, i am not looking for someone to do my hw just looking for some tips to speed things up as i look for answers in my books
Have a good one, Litzkrieg