hi,
I want to know that is it possible to ask a user to enter a value or no. and store it in the variable without echoing it on the screen.
1 2
cout<<"enter a no\n";
cin>>no;
where no is variable ,normally it will echo on screen while entering, I don't want it to be echoed on the screen at the same time want to save it in the variable....
It is displayed on the screen because this is how the console you are using works. There are different consoles, just as there are different games, but the main thing to consider is that the console should not be used the way you want to use it.