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?
2 odpowiedzi
+ 1
that will be interesting
0
<conio.h> clrscr() and getch()