📄 conio.h
字号:
/* * Small C+ Library * * conio.h - old apps compatibility * this helps expecially with the kbhit() instruction * it exists on many old compilers; the mingw port has it * on "conio.h", so here it is ! * * stefano - 18/3/2004 * * $Id: conio.h,v 1.1 2004/03/20 11:16:23 stefano Exp $ */#ifndef __CONIO_H__#define __CONIO_H__// this is used by getch, putch and ungetch.#include <stdio.h>#define getch() fgetc(stdin)#define getche() getch() // not sure about this one...#define putch(bp,fp) fputc(bp,fp)// #define ungetch(bp) ungetc(bp,stdout) // this one doesn't work#define kbhit() (getk() ? 1 : 0)#endif /* _CONIO_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -