首页 >> 综合 >

conio函数头文件(conio h)

2024-07-06 18:01:10 来源: 用户: 

大家好,小东方来为大家解答以上的问题。conio函数头文件,conio h这个很多人还不知道,现在让我们一起来看看吧!

1、简介   conio.h是C标准库中的头文件。

2、   conio是Console Input/Output(控制台输入输出)的简写,其中定义了通过控制台进行数据输入和数据输出的函数,主要是一些用户通过按键盘产生的对应操作,比如getch()函数等等。

3、   包含的函数:   cgets(char *);   cprintf(const char *, ...);   cputs(const char *);   cscanf(const char *, ...);   inp(unsigned short);   inpw(unsigned short);   getch(void);   getche(void);   kbhit(void);   outp(unsigned short, int);   outpw(unsigned short, unsigned short);   putch(int);   ungetch(int);   void _Cdecl clreol (void);   void _Cdecl clrscr (void);   void _Cdecl delline (void);   int _Cdecl gettext (int left, int top, int right, int bottom,   void *destin);   void _Cdecl gettextinfo (struct text_info *r);   void _Cdecl gotoxy (int x, int y);   void _Cdecl highvideo (void);   void _Cdecl insline (void);   void _Cdecl lowvideo (void);   int _Cdecl movetext (int left, int top, int right, int bottom,   int destleft, int desttop);   void _Cdecl normvideo (void);   int _Cdecl puttext (int left, int top, int right, int bottom,   void *source);   void _Cdecl textattr (int newattr);   void _Cdecl textbackground (int newcolor);   void _Cdecl textcolor (int newcolor);   void _Cdecl textmode (int newmode);   int _Cdecl wherex (void);   int _Cdecl wherey (void);   void _Cdecl window (int left, int top, int right, int bottom);   char *_Cdecl cgets (char *str);   int _Cdecl cprintf (const char *format, ...);   int _Cdecl cputs (const char *str);   int _Cdecl cscanf (const char *format, ...);   int _Cdecl getch (void);   int _Cdecl getche (void);   char *_Cdecl getpass (const char *prompt);   int _Cdecl kbhit (void);   int _Cdecl putch (int c);   int _Cdecl ungetch (int ch); 用法   conio 库不仅适用于 Window 平台,在 Linux 下也可使用.网上已经有兼容包,下载后打开就可使用;而至于Mac则完全跟Window没有区别,直接可以使用.。

本文到此分享完毕,希望对大家有所帮助。

  免责声明:本文由用户上传,与本网站立场无关。财经信息仅供读者参考,并不构成投资建议。投资者据此操作,风险自担。 如有侵权请联系删除!

 
分享:
最新文章
  • 傅雷:艺术与人生的灵魂工程师傅雷,中国现代著名的翻译家、文学评论家和教育家,他的名字与中国艺术与文化的...浏览全文>>
  • 化妆品中的科学:揭秘常见成分及其作用化妆品是现代生活中不可或缺的一部分,从护肤品到彩妆,每一款产品都蕴...浏览全文>>
  • 沁人心脾的春日春天,总是带着一种独特的魅力悄然降临。清晨,推开窗户,一股清新的空气扑面而来,仿佛是大自...浏览全文>>
  • 海珠区位于广州市南部,是广州的重要组成部分之一。作为一座历史悠久且充满活力的城区,海珠区以其独特的自然...浏览全文>>
  • 科技助力乡村振兴:数字农业成为新引擎近年来,随着互联网技术的快速发展,数字农业逐渐成为推动乡村振兴的重...浏览全文>>
  • 正月十五:团圆与希望的节日正月十五,元宵节,是中国传统的重要节日之一。这一天,不仅承载着浓厚的文化氛围...浏览全文>>
  • 板凳的拼音“板凳”是一个常见的汉语词汇,它的拼音是“bǎn dèng”。这个词由两个汉字组成,“板”表示木板...浏览全文>>
  • 清明节是中国传统的重要节日之一,通常在公历4月4日至6日之间。这一天不仅是祭祖扫墓的日子,也是人们亲近自然...浏览全文>>
  • 肥料:农业发展的基石肥料是现代农业生产中不可或缺的重要物质,被誉为“庄稼的粮食”。它为植物生长提供了必...浏览全文>>
  • “方兴未艾”读音及意义浅析“方兴未艾”是一个常用成语,出自《晋书·王羲之传》,意思是事物正在蓬勃发展,...浏览全文>>