- 2
What is the difference between gets() and getch()
2 ответов
+ 4
Put the language as tag.. Or as details..
gets() accepts a line of string..
getch() accept just single character..
Both are included in conio.h which is non-standard deprecsted library.
Prefered to use, fgets() instead of gets() and getchar() instead of getch()..
Hope it helps..
edit:
@Simon means use search bar...
+ 3
For one you enter "gets()" into a search engine, for the other "getch()".