Primitive Passwords

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vninja
    New Member
    • Oct 2006
    • 40

    Primitive Passwords

    Hey!

    I got a really simple idea for creating and storing passwords i just don't know how to code it.

    to realize my idea i need to create a txt file that will store passwords i'm just confused by the fstream commands.
    how could i impliment reading a file to find a certain word?

    for example lets say i create a password "Boog". and place it after pswd2: in a file ( pswd2: Boog).

    how could i get C++ to set Boog to a string in the program?

    also does anyone know how i could "hide" the txt file. (enable the hidden attribute?).

    thx in advance
    V
Working...