Possible duplicate:Read the password from std :: cin
I want cin -> input, but when they enter something, I don't want it to be visible to them. For example, when you use passwd on unix to change your password when it does not show what you typed. I hope this is clear what I ask. Thank you in advance.
From C ++ FAQ Lite
++. ++ , . , . , , , .
cin - , () . , .
cin
getpass(3) Unix- , , .
getpass(3)
C ++.
- , , linux, C ++. . , C ++ .
. : "A" , ; . (, ).
UNIX, , - . , , .
backspace, , , , , backspace.
, , , , .
, , .
Source: https://habr.com/ru/post/1762364/More articles:How to write and run update script for .sdf databases? - sqlForce application update - objective-cUsing Javascript to Solve SEO Problems - csshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1762362/are-there-any-console-not-gui-alternatives-to-powershellexe&usg=ALkJrhhQxjGZkRNk4_artp-8g28zzI2GmwQuestion about Android app? - androidJava Scanner Class - javaAndroid Seller Refunds and Cancellations - Can users still update their apps? - androidASP.NET C # Moving a method into a class file and calling it from code - c #Как архитектор и дизайн интеграции друзей Facebook в приложение iPhone с облачным сервисом - iphoneHow to extract Docx (Word 2007 above) using Apache POI - textAll Articles