Advertisement
Guest User

Untitled

a guest
Sep 18th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include "windows.h"
  3. #include "conio.h"
  4. #include <iostream>
  5. #include <string>
  6. using namespace std;
  7.  
  8.  
  9. string username;
  10. string password;
  11.  
  12. int main()
  13. {
  14. SetConsoleTitle("KEK");
  15.  
  16. cout << "Please login \n\n";
  17. cout << "username: \n";
  18. cin >> username;
  19. cout << "password: \n";
  20. cin >> password;
  21.  
  22. if (username == "kid1" || "kid2") {
  23.  
  24. checkin();
  25.  
  26.  
  27.  
  28.  
  29. }
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. _getch();
  38. return 0;
  39. }
  40.  
  41.  
  42.  
  43. void checkin()
  44. {
  45.  
  46. cout << "good";
  47.  
  48.  
  49.  
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement