In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about what header file conio.h refers to. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Conio.h is the console input and output function header file, in which con is the console Console acronym, io is the Input/Output input and output, it does not belong to the C language standard library; it also defines the data input and output functions through the console, such as keyboard input and screen output.
The "conio.h" header file is the console input and output function header file. Con is the abbreviation of console Console, and io is Input/Output input and output. It does not belong to the C language standard library.
It defines functions for data input and data output through the console, such as keyboard input and screen output. It is the input and output function library used in the early C language. Except for a few functions, it is now basically used (instead of using the standard library stdio.h).
The possible functions are getch (); and kbhit (void)
Getch (); is used to instantly read the pressed key (without waiting for the carriage return newline key to arrive).
Kbhit (void); used to instantly check for keystrokes. Other functions are rarely used.
Included function
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)
Usage
Conio library is not only suitable for Windows platform, but also can be used under Linux. Compatibility packs are already available online, which can be downloaded and opened, while Xcode, which is available in Mac's os X, does not support this library.
Thank you for reading! This is the end of the article on what conio.h refers to. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.