Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "variables.h"
- void Logging() {
- while (password != "erzis") {
- system("cls");
- std::cout << "Enter password: ";
- std::cin >> password;
- if (password == "erzis") {
- std::cout << "You've successfully logged in!" << std::endl;
- }
- }
- }
- int main() {
- Logging();
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement