0
why are you include the header file conio.h in program ?
5 odpowiedzi
+ 2
i think if we use clrscr() and getch() they r using conio.h
+ 2
getch() is outdated. Use _getch() instead.
By the way, conio.h is windows only.
Anyways, getch can be replaced with cin.get() most of the times, which is inside iostream library. And clrscr() which I suppose it clears the screen can be replaced with system("cls") for windows and system("clear") in unix systems.
0
good
0
its must to mention conio.h for using getch and clrscr
0
because you are used this function functionality like clrscr(); getch();