+ 5
Why do we use <Conio.h> in c programming?
Why do we use #include <conio.h> and getch() ; in some of the programs written using C programming language? How does it affect the Output ?
18 Antworten
+ 4
Full form of getch is get character.So,what it does is on pressing any key (which takes a character in a way)shows the output.And its function is understood to hold the output screen...
#include<conio.h>
It is a header file used in c and cpp and it includes inbuilt functions like getch()
and clrscr().It stand for console input ouput i.e. it takes input from keyboard and displays it on screen.
+ 8
https://www.sololearn.com/discuss/927918/?ref=app
https://www.sololearn.com/discuss/740139/?ref=app
https://www.sololearn.com/discuss/51936/?ref=app
https://www.sololearn.com/discuss/1946840/?ref=app
https://www.sololearn.com/discuss/210319/?ref=app
https://www.sololearn.com/discuss/1029538/?ref=app
https://www.sololearn.com/discuss/815171/?ref=app
https://www.sololearn.com/discuss/679450/?ref=app
https://www.sololearn.com/discuss/270743/?ref=app
https://www.sololearn.com/discuss/214896/?ref=app
https://www.sololearn.com/discuss/461874/?ref=app
https://www.sololearn.com/discuss/16343/?ref=app
https://www.sololearn.com/discuss/671766/?ref=app
+ 7
Common in built function like getch() clrscr() stored in <conio.h> header files. to use this function we are including <conio.h> header file and the getch() function is used to hold the output screen for a while in the sense till any key is pressed.
+ 5
To continue the window screen after taking input from the user during execution time
+ 3
Andromed Yep I do know .. <math.h>
+ 3
Andromeda What?
+ 2
Include command helps you to import functions from libraries, so you can add desired features to your code. Importing/Including libraries never affect your code, just adds new functions you can use.
At this case, the library Conio.h imports functions like getch() and a lot of other functions you can use.
+ 2
<conio.h> it stands for console input output and .h represent that it is a header file It is used to store the in built functions
+ 2
Good
+ 1
It's denotes that"console input output" pre-defined header file. It store bulidin function like getch() ,clrscr(),etc., . It is based on console (display)function..
For more query ssriramselvakumar59@gmail.com
0
Did you know about math
0
We use conio.h header file for clrscr() and getch()
- 1
What math
- 1
What are you doing
- 1
Doing at my phones