Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
binhong
/
TicketingSystem
miroir de
https://github.com/binhonglee/TicketingSystem
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Versions
0
Wiki
Activité
Parcourir la source
Person
Added Person class and header file.
Fixing-travis-yml
BinHong Lee
il y a 8 ans
Parent
6e87894946
révision
04ac2bebe8
3 fichiers modifiés
avec
25 ajouts
et
0 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+10
-0
Person.cpp
+14
-0
Person.h
+1
-0
database.txt
+ 10
- 0
Person.cpp
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -1,3 +1,4 @@
binhonglee bhlee03655 binhonglee@hotmail.com +13479618886
binhong binhong binhong@binhong.me +14802527013
Écrire
Aperçu
Chargement…
Annuler
Enregistrer