Home c Conio.h header file

Conio.h header file




What the header file is such & lt; conio.h & gt;, and why is it needed? In K & amp; r is not described. Thanks in advance.

Answer 1, Authority 100%

& lt; conio.h & gt; It contains a description of a non-standard library to work with the console (ClrScr , kbhit and the like). Comes, EMNIP, with old Borland compilers. Do not use it if you want your code to compile on more modern compilers.

Note that direct work with the console contradicts the philosophy of uniccable utilities, which should work equally well both with the input data obtained from the user and with the output of other programs. Therefore, the correct Unix utility must read input from STDIN and display it in stdout / stderr, allowing you to efficiently use the forwarding of I / O streams.

Answer 2, Authority 38%

Let’s try “guess”:

conio = & gt; CON I / O = & GT; CONSOLE INPUT / OUTPUT

Well, and with the functionality supplied by this library can already be understood by reading the docks on the network.

In addition, “Conio.h” – the library is purely a short, which has passed in C++, and not left from there is still clean due to the fact that you need to maintain the old code.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions