conio.h

来自「s1mp3 sdk, action mp3 develop tool kit!」· C头文件 代码 · 共 29 行

H
29
字号
/* *      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 + =
减小字号Ctrl + -
显示快捷键?