I want to enter password in asteriks and compare it from the file. I compare it but i cannot able to show it in asteriks.If someone knows please solve it ?
mirfan00
-19
Light Poster
Recommended Answers
Jump to PostSearch for the problem on the net before posting.
http://www.dreamincode.net/forums/showtopic81897.htm
This is a good way of doing it,
Jump to PostUsing the windows header, I managed it like this. [link]
Jump to PostLame way to do it ... ;)
#include <iostream> #include <string> #include <conio.h> using namespace std; int main() { string pass = ""; int a; cout << "Enter password: "; do { a = _getch(); pass += char(a); cout << "*"; }while( a != 13 ); cout …
All 12 Replies
Sky Diploma
571
Practically a Posting Shark
William Hemsworth
1,339
Posting Virtuoso
bunnyboy
0
Junior Poster in Training
William Hemsworth
1,339
Posting Virtuoso
mirfan00
-19
Light Poster
iamthwee
Narue
5,707
Bad Cop
Team Colleague
William Hemsworth
1,339
Posting Virtuoso
mirfan00
-19
Light Poster
Narue
5,707
Bad Cop
Team Colleague
mirfan00
-19
Light Poster
Narue
5,707
Bad Cop
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.