Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class serverInfo//classe contenente le informazioni del server
- {
- public:
- string IP = "211.3.588.85";//indirizzo del server
- string username = "admin";//username
- string pswd = "123456";//password
- };
- void server()//funzione che simula la finestra di login del server
- {
- login();//chiama una funzione dove permette di inserire le variabili "nome" e "password"
- if (nome == serverInfo.username && password == serverInfo.pswd)
- {
- cout << "\n\nTEST\n\n";
- int a;
- cin >> a;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement