this is very uncomplete haha I am just asking if theis will be a good place for a pointer. fplayer is the variable that will hold who goes X or O. If you need any other descriptions of my code just ask I just started and was wondering cause I am trying to use pointers references and structures on my own so I know where to use them. Thanks


#include <iostream.h>

int pxo();
int fplyr();

char grid[3][4];

void main()
{
int fplayer = 0;
int *pfplayer;
int grdnum= 0;

}


int pxo()
{
pfplayer = &fplayer;
if(*pfplayer == 1)
{
if(grdnum == 1)
{
grid[0][0] = "X";
}
if(grdnum == 2)
{
grid[0][1] = "X";
}