Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
binhong
/
TicketingSystem
espelhamento de
https://github.com/binhonglee/TicketingSystem
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
Person
Added Person class and header file.
Fixing-travis-yml
BinHong Lee
8 anos atrás
pai
6e87894946
commit
04ac2bebe8
3 arquivos alterados
com
25 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+10
-0
Person.cpp
+14
-0
Person.h
+1
-0
database.txt
+ 10
- 0
Person.cpp
Ver arquivo
@@ -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
Ver arquivo
@@ -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
Ver arquivo
@@ -1,3 +1,4 @@
binhonglee bhlee03655 binhonglee@hotmail.com +13479618886
binhong binhong binhong@binhong.me +14802527013
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar