first commit

This commit is contained in:
2026-03-05 13:16:26 +01:00
commit 1b2bf174e8
164 changed files with 35594 additions and 0 deletions

54
Lab3/person.h Normal file
View File

@@ -0,0 +1,54 @@
//person.h
#ifndef __PERSON_H__
#define __PERSON_H__
#include "police.h"
#include "atm.h"
#include "cashcard.h"
#include "bank.h"
#include <stdlib.h>
class Person {
private:
Name myName;
int myAge;
double cash;
Passport *myPass;
Cashcard *myCard;
public:
Person(Name &N, int &age):myName(N) { //Constructor
myPass=NULL;
myCard=NULL;
cash=0;
myAge=age;
}
~Person(){}
const Name &getName() { return myName; }
int getPassport(Police &myStation) {