initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
//#ifndef FRAMEWORK_H
|
||||
//# define FRAMEWORK_H
|
||||
//# include <A.h>
|
||||
//# include <B.h>
|
||||
//# include <C.h>
|
||||
//#endif
|
||||
|
||||
#pragma once
|
||||
class user
|
||||
{
|
||||
public:
|
||||
std::string name = "";
|
||||
char age = 0;
|
||||
uint32_t id = 0;
|
||||
public:
|
||||
user() {};
|
||||
user(std::string name, char age)
|
||||
{
|
||||
this->name = name;
|
||||
this->age = age;
|
||||
}
|
||||
user(uint32_t id)
|
||||
{
|
||||
this->id = id;
|
||||
}
|
||||
std::string getName() { return name; }
|
||||
char getAge() { return age; }
|
||||
uint32_t getId() { return id; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user