- 0
[C++] Displaying Asterisk's for Password Characters ("*")?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By leonsk29 · Posted
It's like I said: people need to bitch about literally anything these days. It's just a freaking stupid thumbnail. -
By TRS-80 · Posted
Hullucination may be a sign of a more serious condition like schizophrenia or dementia. -
-
By Primey_ · Posted
That trigger travel before actuation is a major turn off for me. -
By News Staff · Posted
This ChatGPT & Automation E-Degree has been price dropped even further by Steven Parker Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where for only a limited time you can save 97% on this ChatGPT & Automation E-Degree. Immerse yourself in a transformative learning experience with these 12 captivating courses, featuring over 25 hours of engaging content that will redefine the way you perceive the digital landscape. Embrace the future with ChatGPT and unlock the potential of more than 20 indispensable AI tools tailored for today's dynamic challenges in marketing, business, and coding. Embark on a journey of skill enhancement and future-proof your career with our e-degree. Get ready to shape the future with knowledge, innovation, and the best AI tools available today! Access 12 lectures & 25 hours of content 24/7 Explore practical applications & real-world scenarios tailored to your professional domain Gain valuable experience that can be directly applied to your professional endeavors Learn the art of customization as you tailor ChatGPT to meet the unique demands of various industries Unleash your full potential in diverse professional settings Master the art of streamlining business processes through automation, enhancing efficiency, and ensuring optimal resource utilization Gain insights into powerful techniques that transform raw data into compelling visual narratives Discover how AI can amplify your creativity & contribute to groundbreaking projects Elevate your communication skills by mastering conversations with ChatGPT Explore the intersection of AI & data visualization Gray Scale Photo of Gears via PexelsGood to know Length of time users can access this course: lifetime Access options: desktop & mobile Redemption deadline: redeem your code within 30 days of purchase Experience level required: beginner Updates included Certificate of Completion ONLY Lifetime access to the ChatGPT & Automation E-Degree normally costs $790, but you can pick it up for just $19.97 for a limited time, that's a saving of $770 (97%) off the normal price! For full details, terms, and instructor info for the above courses, click the link below. Get this ChatGPT & Automation E-Degree course for just $19.97, or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
-
-
Recent Achievements
-
Primey_ went up a rank
Community Regular
-
Gromvar earned a badge
Reacting Well
-
BreakingBenjamin earned a badge
Dedicated
-
Hartej earned a badge
Week One Done
-
TsunadeMama earned a badge
One Year In
-
-
Popular Contributors
-
Tell a friend
Question
Calum Veteran
I have recently been developing a program incorporating all the theory we learnt in the first year of university & it is going really well. However, I have a problem with my username & password code (something we never did in my first year).
I have a couple of minor problems but the only one I think I need help with is getting the password characters to all display as "*", in order to maintain privacy. I would like them to behave like actual characters so, for example, if I pressed backspace, I would want it to delete the last character & not display another asterisks.
I have not been able to find a solution to my problem anywhere. So please may somebody help?
I'd rather not change the whole code of my username & password function as I am happy with it at the moment, so would somebody please help me with how to implement this within my current code?
If I have to change the username & password function then I am willing to do so. Also, would anybody like me to display more of my code on this matter?
The following is the function which allows the user to enter the password (but not the whole of my username & password code as that is scattered around the program). I would assume it would have something to do with this line:
The whole function works perfectly as it should, I'd just like the password to be displayed with asterisk's :)
Here is my code anyway:
Thank you in advance. I would be very grateful for any help :)
Edited by cJr.Link to comment
https://www.neowin.net/forum/topic/668608-c-displaying-asterisks-for-password-characters/Share on other sites
8 answers to this question
Recommended Posts