Hey I'm trying to make a sudoku solver. Im stuck at printing the sudoku elements using outtextxy. My command line is :
for(i=0;i<w;i++)
{ for(j=0;j<w;j++)
{ if(A[i][j]==0)
outtextxy(25+40j,55+10i," ");
else
outtextxy(25+40j,65+10i,A[i][j]);
// outtextxy(25+40j,55+40i,"1");
}
}

where A[][]is the array in which sudoku is stored and the blanks are inputed as "0";
now I am having this error :
cannot convert 'int' into 'const char far*'
Pls help

Recommended Answers

Can you post completed code here?

Jump to Post

All 2 Replies

Can you post completed code here?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.