이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
binhong
/
TicketingSystem
의 미러
https://github.com/binhonglee/TicketingSystem
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
Person empty constructor
Empty constructor for Person is being declared.
Fixing-travis-yml
BinHong Lee
8 년 전
부모
c5d712babe
커밋
570ac37bac
3개의 변경된 파일
과
11개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
LogInSystem.cpp
+8
-0
Person.cpp
+1
-0
Person.h
+ 2
- 0
LogInSystem.cpp
파일 보기
@@ -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
파일 보기
@@ -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
파일 보기
@@ -11,6 +11,7 @@ class Person
string phoneNo;
public :
Person();
Person(string, string, string, string);
void setName(string);
string getName();
쓰기
미리보기
불러오는 중...
취소
저장