'What is the conio.h library used for? C++

I'm creating a program watching a lot of videos so my program has so many libraries that I don't remember what some of them are for. Could someone be so kind as to tell me perhaps some of the uses of the following libraries?

#include<iostream> 
#include<stdlib.h>
//#include<stdio.h>
#include<conio.h> 
//#include<string>
#include<string.h>
#include<windows.h> //Sleep
#include<locale.h>
#include<cstdio>
c++


Solution 1:[1]

The conio.h library is not a C/C++ Standard Library. It's a collection of Windows-specific functions. Most commonly people use _kbhit or _getch to continue a 'paused' console application when a user hits a key on the keyboard.

https://docs.microsoft.com/en-us/cpp/c-runtime-library/console-and-port-i-o

It also defined some legacy MS-DOS functions like _inp and _outp which are not in the modern Microsoft C/C++ Runtime Library. None of them work in 'user-mode' Windows.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Chuck Walbourn