I have no idea how.... anyone have a clue
I have no idea how.... anyone have a clue
On input? Saved in a file? Across a network?
Mainframe assembler programmer by trade. C coder when I can.
Without firsthand knowledge of this area, I'm going to propose that you'll need platform specific calls to functions (like conio.h on windows) to access the keyboard buffer and cause backspaces to occur on each getchar() call you make to read the password. I'm sure someone more knowledgeable will chime in shortly.
Mainframe assembler programmer by trade. C coder when I can.
You need to read characters without actually showing them - search the forum for "reading password" and I'm sure you'll find a thread or three on the subject. Note that this is DEFINITELY NOT beginner stuff [although I suppose a copy'n'paste of some existing code would be sufficient], and it is very much system dependant in the sense that Windows does it one way, Linux/Unix does it another way, and I'm sure that the older MacOS (before MacOS X) does it a completely different way again.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.