Int main ()
{
Int I, j;
for(i=0; I<8; I++)
{
for(j=0; J<8; J++)
If ((I + j) % 2==0)
Printf (" % c % c ", 219219);
The else printf (" ");
printf("\n");
}
return 0;
}
Output should be as follows:
But in my vs2017 output is as follows:
I try to use vc6 test, the result is also not line,
Please give directions, thank you!
CodePudding user response:
Problem has been resolved, it is ok to console the default value is set!CodePudding user response:
system (" CHCP 437 ");
CodePudding user response:
How to solve? A great god, and not understandCodePudding user response:
Change the default character in the console properties