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?
This is a discussion on How do you get rid of the cursor within the C++ Programming forums, part of the General Programming Boards category; Im having a problem making a game. The code works fine its just that the damn cursor keeps blinking, and ...
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.