谁有c语言,conio.h库文件资源
发布网友
发布时间:2022-04-24 21:38
我来回答
共3个回答
热心网友
时间:2023-10-12 00:17
/*
* conio.h
* This file has no copyright assigned and is placed in the Public Domain.
* This file is a part of the mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within the package.
*
* Low level console I/O functions. Pretty please try to use the ANSI
* standard ones if you are writing new code.
*
*/
#ifndef_CONIO_H_
#define_CONIO_H_
/* All the headers include this file. */
#include <_mingw.h>
#ifndef RC_INVOKED
#ifdef__cplusplus
extern "C" {
#endif
_CRTIMP char* __cdecl __MINGW_NOTHROW_cgets (char*);
_CRTIMP int __cdecl __MINGW_NOTHROW_cprintf (const char*, ...);
_CRTIMP int __cdecl __MINGW_NOTHROW_cputs (const char*);
_CRTIMP int __cdecl __MINGW_NOTHROW_cscanf (char*, ...);
_CRTIMP int __cdecl __MINGW_NOTHROW_getch (void);
_CRTIMP int __cdecl __MINGW_NOTHROW_getche (void);
_CRTIMP int __cdecl __MINGW_NOTHROW_kbhit (void);
_CRTIMP int __cdecl __MINGW_NOTHROW_putch (int);
_CRTIMP int __cdecl __MINGW_NOTHROW_ungetch (int);
#ifndef_NO_OLDNAMES
_CRTIMP int __cdecl __MINGW_NOTHROWgetch (void);
_CRTIMP int __cdecl __MINGW_NOTHROWgetche (void);
_CRTIMP int __cdecl __MINGW_NOTHROWkbhit (void);
_CRTIMP int __cdecl __MINGW_NOTHROWputch (int);
_CRTIMP int __cdecl __MINGW_NOTHROWungetch (int);
#endif/* Not _NO_OLDNAMES */
#ifdef__cplusplus
}
#endif
#endif/* Not RC_INVOKED */
#endif/* Not _CONIO_H_ */
以上是“conio.h”文件的源码,粘贴到记事本里,然后另存为“conio.h”
热心网友
时间:2023-10-12 00:18
conio.h是一个c标准库中的头文件。
conio是console
input/output(控制台输入输出)的简写,其中定义了通过控制台进行数据输入和数据输出的函数,主要是一些用户通过按键盘产生的对应操作,比如getch()函数等等。
热心网友
时间:2023-10-12 00:18
我有
怎么给你啊