could u please send the code for making a password program where the person typing his password can be seen only in asterisks to the following person and to store passwords.
could u please send the code for making a password program where the person typing his password can be seen only in asterisks to the following person and to store passwords.
i won't send you any code, but i believe you can print a backspace to the console to hide the character
don't straight ask for code here...try on your own, then people will help...
Actually you have to print a backspace and an empty char (or password char) to overwrite the character:
cout << "\h*" << flush;
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Pointless homework begging thread closed
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.