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 empty constructor
Empty constructor for Person is being declared.
Fixing-travis-yml
BinHong Lee
před 8 roky
rodič
c5d712babe
revize
570ac37bac
3 změnil soubory
, kde provedl
11 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
+2
-0
LogInSystem.cpp
+8
-0
Person.cpp
+1
-0
Person.h
+ 2
- 0
LogInSystem.cpp
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -11,6 +11,7 @@ class Person
string phoneNo;
public :
Person();
Person(string, string, string, string);
void setName(string);
string getName();
Zapsat
Náhled
Načítá se…
Zrušit
Uložit