S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
binhong
/
TicketingSystem
zrcadlo
https://github.com/binhonglee/TicketingSystem
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Vydání
0
Wiki
Aktivita
Procházet zdrojové kódy
Person
Added Person class and header file.
Fixing-travis-yml
BinHong Lee
před 8 roky
rodič
6e87894946
revize
04ac2bebe8
3 změnil soubory
, kde provedl
25 přidání
a
0 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+10
-0
Person.cpp
+14
-0
Person.h
+1
-0
database.txt
+ 10
- 0
Person.cpp
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -1,3 +1,4 @@
binhonglee bhlee03655 binhonglee@hotmail.com +13479618886
binhong binhong binhong@binhong.me +14802527013
Zapsat
Náhled
Načítá se…
Zrušit
Uložit