Advertisement
erzis

Untitled

Dec 4th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2. #include "variables.h"
  3.  
  4. void Logging() {
  5. while (password != "erzis") {
  6. system("cls");
  7. std::cout << "Enter password: ";
  8. std::cin >> password;
  9. if (password == "erzis") {
  10. std::cout << "You've successfully logged in!" << std::endl;
  11. }
  12. }
  13. }
  14.  
  15. int main() {
  16. Logging();
  17. system("pause");
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement