Пожалуйста, включите 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
Сommit
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
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить