Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef login_h
#define login_h
#endif //login_h
#include <iostream>
#include <string>
#include <vector>
using namespace std;
// login.h
// BasketBallGame
//
// Created by Suraj Mann on 21/02/2020.
// Copyright © 2020 Suraj Mann. All rights reserved.
//
/** To create user login - Suraj **/
//declaring class for user login - Suraj
class Login
{
// sensitive data being stored as private variables - Suraj
private:
std::string userName;
std::string password;
std::vector<std::string> users_list;
public:
//constructor method
Login();
Login(std::string name, std::string pass_word)
{
//initialise variables
this->userName = name;
this->password = pass_word;
}
// creating function to create user login
void set_user_credentials();
// creating function to check user login details
void check_user_credentials();
};