Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. class serverInfo//classe contenente le informazioni del server
  2. {
  3. public:
  4.     string IP = "211.3.588.85";//indirizzo del server
  5.     string username = "admin";//username
  6.     string pswd = "123456";//password
  7. };
  8. void server()//funzione che simula la finestra di login del server
  9. {
  10.     login();//chiama una funzione dove permette di inserire le variabili "nome" e "password"
  11.     if (nome == serverInfo.username && password == serverInfo.pswd)
  12.     {
  13.         cout << "\n\nTEST\n\n";
  14.         int a;
  15.         cin >> a;
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement