0

Without Conio.h how can we use functions like getch(), getche().

i know this header file is outdated but then how can we make use of its functions.

7th Apr 2017, 4:21 PM
GeekyShacklebolt
GeekyShacklebolt - avatar
3 Antworten
+ 8
@CodeCadet I don't have much idea about it..but I think that kbhit() is pretty outdated...and also...it is to register a key hit. Idk if it can be used to enter data dynamically..
7th Apr 2017, 5:59 PM
StillSoul‌‌‌‌‌‌‌‌‌‌‌‌‌‍
StillSoul‌‌‌‌‌‌‌‌‌‌‌‌‌‍ - avatar
+ 6
You can use alternative methods.. eg..with iostream, use getchar()
7th Apr 2017, 5:51 PM
StillSoul‌‌‌‌‌‌‌‌‌‌‌‌‌‍
StillSoul‌‌‌‌‌‌‌‌‌‌‌‌‌‍ - avatar
+ 1
But getchar() echo the entered key. I don't want to echo and wait for the Enter key to be pressed. and what about kbhit()
7th Apr 2017, 5:54 PM
GeekyShacklebolt
GeekyShacklebolt - avatar