#include #include using namespace std; //An attempt at password protection //By J_K9 -- 10/07/2005 //Modified by dugas int main() { const string passwd("lycrolite"); string input_passwd; cout << "Please enter your password: "; cin >> input_passwd; if (input_passwd == passwd) cout << "\nPassword matches!\n"; else cout << "\nSorry! Wrong password!\n"; return 0; }