SHARE
TWEET

Untitled

a guest Jun 8th, 2017 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "relevant.h"
  2. #include "Datenbank.h"
  3. #include "User.h"
  4.  
  5.  
  6. void database::init(std::string Username, std::string Password/*, std::string Status*/)
  7. {
  8.     Username = username;
  9.     Password = password;
  10. }
  11.  
  12. bool database.login_d(std::string Username, std::string Password)
  13.  
  14. {
  15.     if (Username == user.username && Password == password)
  16.     {
  17.         return true;
  18.     }
  19.     return false;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top