Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
binhong
/
TicketingSystem
peilaus alkaen
https://github.com/binhonglee/TicketingSystem
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
Person
Added Person class and header file.
Fixing-travis-yml
BinHong Lee
8 vuotta sitten
vanhempi
6e87894946
commit
04ac2bebe8
3 muutettua tiedostoa
jossa
25 lisäystä
ja
0 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
Person.cpp
+14
-0
Person.h
+1
-0
database.txt
+ 10
- 0
Person.cpp
Näytä tiedosto
@@ -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
Näytä tiedosto
@@ -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
Näytä tiedosto
@@ -1,3 +1,4 @@
binhonglee bhlee03655 binhonglee@hotmail.com +13479618886
binhong binhong binhong@binhong.me +14802527013
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna