编程辅导 #ifndef USER_H

#ifndef USER_H
#define USER_H

#include

Copyright By PowCoder代写 加微信 powcoder

// Declaring the User class
// Definitions of functions are made in the .cpp file under the src directory

class User {
std::string name;
std::string email;

// constructor
User(std::string username, std::string useremail, int uid) : name(username), email(useremail), ID(uid) {}

// getters
std::string getName();
std::string getEmail();

// overloading operator
friend bool operator==(const User& user1, const User& user2);

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com