Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
binhong
/
TicketingSystem
réplica de
https://github.com/binhonglee/TicketingSystem
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Person empty constructor
Empty constructor for Person is being declared.
Fixing-travis-yml
BinHong Lee
hace 8 años
padre
c5d712babe
commit
570ac37bac
Se han
modificado 3 ficheros
con
11 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-0
LogInSystem.cpp
+8
-0
Person.cpp
+1
-0
Person.h
+ 2
- 0
LogInSystem.cpp
Ver fichero
@@ -6,6 +6,7 @@
#include <iostream>
#include <string>
#include <fstream>
#include "Person.cpp"
using namespace std;
int getUsernameCounter(string, int);
@@ -20,6 +21,7 @@ void chgPhoneNo();
void quit();
const int size = 10000;
Person person[size];
string username[size];
string password[size];
string email[size];
+ 8
- 0
Person.cpp
Ver fichero
@@ -2,6 +2,14 @@
#include "Person.h"
using namespace std;
Person::Person()
{
name = "unknown";
password = "";
email = "unknown";
phoneNo = "555-5555";
}
Person::Person(string name, string password, string email, string phoneNo)
{
this->name = name;
+ 1
- 0
Person.h
Ver fichero
@@ -11,6 +11,7 @@ class Person
string phoneNo;
public :
Person();
Person(string, string, string, string);
void setName(string);
string getName();
Escribir
Vista previa
Cargando…
Cancelar
Guardar