📄 eg_gettu.c
字号:
#include <conio.h>
#include <graph.h>
main()
{
int old_shape;
old_shape = _gettextcursor();
_settextcursor( 0x0007 );
_outtext( "\nBlock cursor" );
getch();
_settextcursor( 0x0407 );
_outtext( "\nHalf height cursor" );
getch();
_settextcursor( 0x2000 );
_outtext( "\nNo cursor" );
getch();
_settextcursor( old_shape );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -