C/C++
_setcursortype()

#include <conio.h>

void  _setcursortype()





, :

  • _NOCURSOR -
  • _SOLIDCURSOR -
  • _NORMALCURSOR -
#include <conio.h>
int main(void)
{
	/*    */
	cprintf("\r\n :");
	getch();
	/*   */
	_setcursortype(_NOCURSOR);
	cprintf("\r\n :");
	getch();
	/*     */
	_setcursortype(_SOLIDCURSOR);
	cprintf("\r\n   :");
	getch();
	/*    */
	_setcursortype(_NORMALCURSOR);
	cprintf("\r\n :");
	getch();
	return 0;
}





2016-12-25 05:03:24 Андрей

В примере, после строки /* вернуть обычный курсор */, должна быть строка установки нормального курсора: _setcursortype(_NORMALCURSOR);




Оставить комментарий:
Ваше Имя:
Email:
Антибот: *  
Ваш комментарий: