欧美亚洲中文,在线国自产视频,欧洲一区在线观看视频,亚洲综合中文字幕在线观看

      1. <dfn id="rfwes"></dfn>
          <object id="rfwes"></object>
        1. 站長資訊網(wǎng)
          最全最豐富的資訊網(wǎng)站

          conio.h是什么頭文件

          conio.h是控制臺輸入輸出函數(shù)頭文件,其中con是控制臺Console英文縮寫,io是Input/Output輸入輸出,它不屬于C語言標準庫;它還定義了通過控制臺進行數(shù)據(jù)輸入和數(shù)據(jù)輸出的函數(shù),如鍵盤輸入、屏幕輸出。

          conio.h是什么頭文件

          推薦:《編程視頻》

          "conio.h"頭文件是 控制臺輸入輸出函數(shù)頭文件。con 是控制臺Console英文縮寫,io是 Input/Output 輸入輸出。它不屬于C語言標準庫。

          它定義了通過控制臺進行數(shù)據(jù)輸入和數(shù)據(jù)輸出的函數(shù),例如 鍵盤輸入,屏幕輸出。它是早期C語言用的輸入輸出函數(shù)庫。除了個別函數(shù)以外,現(xiàn)在基本不用(而用標準庫 stdio.h)。

          可能用的函數(shù)是 getch(); 和 kbhit(void);

          getch(); 用于瞬時讀取按下的鍵,(不等待回車換行鍵的到來)。

          kbhit(void); 用于瞬時檢查 是否有按鍵動作。其它函數(shù)很少用到。

          包含的函數(shù)

          cgets(char*);; cputs(constchar*); cscanf(constchar*,...); inpw(unsignedshort); getch(void); getche(void); kbhit(void); outp(unsignedshort,int); outpw(unsignedshort,unsignedshort); putch(int); ungetch(int);
          void_Cdeclclreol(void); void_Cdeclclrscr(void); void_Cdecldelline(void); int_Cdeclgettext(intleft,inttop,intright,intbottom,void*destin); void_Cdeclgettextinfo(structtext_info*r); void_Cdeclgotoxy(intx,inty); void_Cdeclhighvideo(void); void_Cdeclinsline(void); void_Cdecllowvideo(void); int_Cdeclmovetext(intleft,inttop,intright,intbottom,intdestleft,intdesttop); void_Cdeclnormvideo(void); int_Cdeclputtext(intleft,inttop,intright,intbottom,void*source); void_Cdecltextattr(intnewattr); void_Cdecltextbackground(intnewcolor); void_Cdecltextcolor(intnewcolor); void_Cdecltextmode(intnewmode); int_Cdeclwherex(void); int_Cdeclwherey(void); void_Cdeclwindow(intleft,inttop,intright,intbottom); char*_Cdeclcgets(char*str); int_Cdeclcprintf(constchar*format,...); int_Cdeclcputs(constchar*str); int_Cdeclcscanf(constchar*format,...); int_Cdeclgetch(void); int_Cdeclgetche(void); char*_Cdeclgetpass(constchar*prompt); int_Cdeclkbhit(void); int_Cdeclputch(intc); int_Cdeclungetch(intch);

          用法

          conio庫不僅適用于 Windows 平臺,在 Linux 下也可使用.網(wǎng)上已經(jīng)有兼容包,下載后打開就可使用;而至于Mac的os X中提供的Xcode卻并不支持這一函數(shù)庫。

          贊(0)
          分享到: 更多 (0)
          網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號