| |
| |
| |
|
Page: 1 2
Comments:
<0> if(infile.peek() == EOF) <0> { <0> cout << "Set p***word for database: "; <0> cin >> userinput; <0> strcpy_s(pw, userinput);
<0> outfile.open("c:\\t1.pwd"); <0> outfile << userinput; <0> cout << "P***word stored" << endl; <0> } <0> else <0> { <0> infile >> pw; <0> for(i = 0; i < SIZE; i++) <0> userinput[i] = pw[i]; <0> cout << "Please enter correct p***word: "; <0> cin >> userinput2; <0> while(strcmp(pw, userinput2) != 0 && j < 3) <0> { <0> cout << "Invalid P***word" << endl; <0> if(j == 2) <0> { <0> cout << 3 - j << " try left."; <0> cout << "Please enter correct p***word: "; <0> cin >> userinput2; <0> j++;
<0> } <0> else <0> { <0> cout << 3 - j << " tries left. "; <0> cout << "Please enter correct p***word: "; <0> cin >> userinput2; <0> j++; <0> } <0> } <0> if(j == 3) <0> { <0> cout << "Intruder alert! Program terminating."; <0> return(0); <0> } <0> } <1> some guy wants me to send him a 4u casing by mail <1> i only asked 75 euro's for it <1> my guess it will cost him 50 euro for sending only <2> http://www.godhatesfags.com/ <2> great people <2> NOT
Return to
#microsoft or Go to some related
logs:
#beginner #windows #windows #goal #beginner #windows #computers #computers UBCD4Windows #red
|
|