使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
binhong
/
TicketingSystem
镜像自地址
https://github.com/binhonglee/TicketingSystem
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
Person
Added Person class and header file.
Fixing-travis-yml
BinHong Lee
8 年前
父节点
6e87894946
当前提交
04ac2bebe8
共有
3 个文件被更改
,包括
25 次插入
和
0 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+10
-0
Person.cpp
+14
-0
Person.h
+1
-0
database.txt
+ 10
- 0
Person.cpp
查看文件
@@ -0,0 +1,10 @@
#include <string>
#include "Person.h"
Person::Person(string name, string password, string email, string phoneNo)
{
this->name = name;
this->password = password;
this->email = email;
this->phoneNo = phoneNo;
}
+ 14
- 0
Person.h
查看文件
@@ -0,0 +1,14 @@
#include <string>
#include <iostream>
using namespace std;
class Person
{
string name;
string password;
string email;
string phoneNo;
public :
Person(string, string, string, string);
};
+ 1
- 0
database.txt
查看文件
@@ -1,3 +1,4 @@
binhonglee bhlee03655 binhonglee@hotmail.com +13479618886
binhong binhong binhong@binhong.me +14802527013
撰写
预览
正在加载...
取消
保存