Website Summary Files Commits Branches @commit @diff @stats
path: root / Week10 / Exercise01 / User.cpp
blob: fce9956cac527636e03c5c91f0e8f8f1f4b7ea3c (plain) (blame)
1
2
3
4
5
6
#include "User.h"
#include <cstring>

bool User::LogIn(const char* name, const char* password) {
	return strcmp(this->name, name) == 0 && strcmp(this->password, password) == 0;
}