Im having a problem making a game. The code works fine its just that the damn cursor keeps blinking, and its getting very annoying. Anyone know how to get rid of it?
Im having a problem making a game. The code works fine its just that the damn cursor keeps blinking, and its getting very annoying. Anyone know how to get rid of it?
I'll save myself asking what system you use and assume Windows:
Code:#include <windows.h> void hide_cursor() { CONSOLE_CURSOR_INFO cci; cci.dwSize = 1; cci.bVisible = FALSE; SetConsoleCursorInfo ( GetStdHandle( STD_OUTPUT_HANDLE ), &cci ); }
My best code is written with the delete key.