Thread: little help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    34
    ok the point of this program was to hold passwords for all my onlines games i play so that people that use my pc can't get to them

    as of right now the only way i no of to add soemting like
    cout<<"password list 789678,hellomom";
    would be to type it in to the source file
    im looking for a way to add someting to it like this

    cout<<"password list 789678,hellomom";
    <<"password list 234566,hellomom";
    cometing like that but whitout me haveing to type it in and then complie

    so whear it says
    cout<<" please enter a password you would like to add: ";

    i would type in the 2 passwords and it would save it
    and add it to the source code so that it will be added next time i look them up

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    look into file i/o and filestreams (specifically fstream). That should get you started on what you need. But after that, if you dont want anybody else to get to it you will need to have the file you store all the passwords to encrypted by some algorithm.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

Popular pages Recent additions subscribe to a feed