Thread: password field

  1. #1
    Registered User trekker's Avatar
    Join Date
    Mar 2002

    password field

    how to i create a password field for a DOS app in C?



    I would also want a few links/books on DOS API programming.

    to boldy code where...

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    >>It's in the FAQ
    ... but I haven't labelled it very well, so here's the link:
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Aug 2003

    posted solution


    get the name as such. and for the password field you can use getch in a loop and get the string value and get it validated. It would be better if u keep the routines in the program module itself instead of using a separate file for stroring the username and password due to security reasons. Or you can go for encryption. However, the former approach would be a better one.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [Q]Hide Password
    By Yuri in forum C++ Programming
    Replies: 14
    Last Post: 03-02-2006, 03:42 AM
  2. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  3. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  4. written command line password generator
    By lepricaun in forum C Programming
    Replies: 15
    Last Post: 08-17-2004, 08:42 PM
  5. Password Field
    By Explicit in forum C Programming
    Replies: 10
    Last Post: 05-22-2004, 08:22 PM