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 Post>_getch() isn't part of the C++ standard
There's not a portable way to do what the OP wants, so any viable solution will use things that aren't part of the standard.>you can't backspace
That's an easy addition.>and you're using conio.h
See my comment for getch. So …
Jump to Post>William your code is also working good but it is too long.
Does your homework have a line limit or something? :icon_rolleyes:
Jump to Post>I think small codes are good if they give same output as long codes.
There's more to code than output. Quicksort and bubble sort produce the same result, for example, but in all but exceptional cases, quicksort is vastly superior despite being quite a bit longer and much more complex.
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.