answersLogoWhite

0

It is not a question, because it is inbuilt by authors of c(dennis ritchie &brian kernighan) it is inevitable you cannot change it or question it.

Actually, getch is not part of the standard C run time library, it belongs to curses (unix) or conio (DOS). iostrem is not part of the C-rtl either, because it is C++

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Can you replace getch of C programming in Linux without using iostream header?

There is a 'getch' in 'conio.h' which has nothing to do with 'iostream'.


What does console header file does?

By writing console header file, if you mean to say about conio.h, then conio.h contains functions related to console input and output like clrscr() to clear the screen, getch() to get a character without enter key being pressed, getche() same as getch() but it shows the character entered.


What does conioh in programming mean?

conio.h is a library function which is predefined in the header file and 'clrscr();','getch();' and many other functions come under this.


Why you use header files in c?

the use of header files is to add functionality. Header files are basically saying put code in that header file here so you don't have to type that many lines of code.


How do you install curses header file in fedora Linux in order to use getch function in a c an c plus plus program?

dnf install ncurses-devel


Write a program to display a table of 5?

#include <stdio.h> #include<conio> void main () {int a,i:, printf("\n The Multiplication table of 5 is n"):, For(i=1;i=20;i++) Printf("%d",a*i); getch(); }


Write a program in c language to subtract two numbers?

#include<stdio.h> #include<conio.h> int main(void) { int sum=0,n,i; clrscr(); printf("\n Enter two no."); scanf("%d%d",&n,&i); sum=n+i; printf("\n%d+%d=%d,n,i,sum); getch(); return 0; }


Purpose of getch?

The purpose of getch() is to input a single character from the input stream.


What is the definition of 'getch' in c programming?

what is getch()and their useFunction getch waits for a single keypress (without line-buffering and echoing).In: ncruses.h (unix) or conio.h (dos).


Why getch is used at the end of every c program?

getch() takes one char from keyboard but it will be invisible to us. in other words we can say that it waits until press any key from keyboard.getch() is a function which has its protype defined in conio.h header file.it is basically used to take input a single characterfrom keyboard. and this char is not displayed at the screen.it waits until itn gets a input that's why it can be used as a screen stopper.


Why getch function has semicolen?

Without the semi-colon, getch is just an expression, not a statement.


Return value of getch?

char