0

In c++ can we input something without printing it on screen and also how to clear screen in iostream?

I use cin and it always prints the value which is inputted.Is there any way to input any value without showing in on screen? Like- cout<<"press any key to exit"; cin>>key; return 0; //I dont want to see the input of cin on the screen .Any alternatives?

9th Jul 2017, 3:14 PM
Rishabh Singh Rajput
Rishabh Singh Rajput - avatar
2 odpowiedzi
+ 1
that will be interesting
9th Jul 2017, 3:26 PM
‎ ‏‏‎Anonymous Guy
0
<conio.h> clrscr() and getch()
9th Jul 2017, 5:01 PM
Andrés04_ve
Andrés04_ve - avatar