473,385 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Mask Password Input

I made a program that require user input here is code:
Expand|Select|Wrap|Line Numbers
  1. while(Buffer != 13)
  2.      {
  3.  
  4.                 TempPass2.push_back(Buffer);
  5.                 cout << '*';
  6.                 Buffer = _getch();
  7.      }
  8.  
But I cannot use backspace how can i add backspace to the program?
Thanks!
Sep 17 '10 #1
1 3047
johny10151981
1,059 1GB
backspace button return 8 try to work with that
Sep 17 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Franck DARRAS | last post by:
Hi everybody, I have a problem with different TAB. Each TAB contains some DIV, each DIV have input. When I change of TAB, i have a problem, i can't acces to my input. These inputs are mask by...
7
by: cjl | last post by:
I have the following HTML/CSS: HTML: <div id="stealth_form"> <form name="stealthme" action="" onSubmit="return initializeSearch(this);"> <input type='password' name='query' size=16> </form>...
0
by: cjl | last post by:
I have the following HTML/CSS: HTML: <div id="stealth_form"> <form name="stealthme" action="" onSubmit="return initializeSearch(this);"> <input type='password' name='query' size=16> </form>...
2
by: Yang | last post by:
Hi Is it possible to mask console input in a c# console application? What I mean is: if I entered string "test" in the console, it'll echo "****"(or nothing) instead of the string "test". I've...
3
by: niv | last post by:
Hello, I have a textbox that users enter their password into.. the problem is that i want the password to be masked with a asterisk. How can I do this and also still be able to read the input...
3
by: julianmoors | last post by:
Hey, Currently I'm writing a VB.NET/1.1 app and I need to mask the input for the password field. Does anyone know how to do this in VB? I've seen a C# example, but wouldn't know how to convert...
13
by: codeex | last post by:
I have a password input box and i want to make it so when they type in a password say such as "show" it would go to another page. i want a basic solution and i dont need it encrypted.
3
by: movieking81 | last post by:
Hello All - Not sure if this goes here or not, but I'll give it a shot. Does anyone know of any way of hiding a password input from being seen in the source code? The pages I've put together are...
2
jrtox
by: jrtox | last post by:
Hello, Can i ask help from you guys. Ok, I want my records on the datagrid to be shown like " ******** " , not on readable format like "Password", . But not changing the Original data on my...
3
by: Nelluru | last post by:
Hi, I want to open user details or some data pages in a new window after he enters the username and password. I am able to open in a new window but the problem is that i am not able to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.