p-Parking-Garage / CSC330_MidtermProj_Parking / Guest.h
Guest.h
Raw
// Class: Guest
// Inherits from Person
//
#pragma once
#include <iostream>
#include "Person.h"

using namespace std;

class Guest : public Person
{
public:
	Guest();
	Guest(string, string, int, int);
	string getLicensePlate();
	int getTimeReserved();
	int getGuestTicket();
	void createGuestTxt(ofstream &guestData, Person&);
	virtual void print();

private:
	int guestticket;
	int timereserved;
	string lplate;
	Person * user;

};