0
What is the use of clrscr and getch
8 odpowiedzi
+ 6
and conio.h is older than the dinosaurs and not recommended at all
+ 4
sounds like someone is using conio.h
cin is standard c++ for getting input from the console. Use it.
+ 2
clrscr()- to clear the output screen and getch()- for getting an input from user.
+ 1
Thanks
+ 1
it's up to you which one you use..
+ 1
ohh so
getchar is only applicable in conio.h
+ 1
OK Got it
thanks for helping
0
If getch fetch input from the user then what is the use of cin?