Well, I define a function gotoxy().
void gotoxy(int x, int y) //定位到第y行的第x列
{
HANDLE hOutput;
COORD loc;
loc.X = x;
loc.Y=y;
hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(hOutput, loc);
return;
}
However,whenever I use it.There is a flashing cursor which is ugly to see.
I want to get rid of it.But I don't know how to do it.
As I think,once the hook is closed.There is no longer a cursor.
Am I right?
I need your code associated with this problem