first commit
This commit is contained in:
17
Lab3/main.cpp
Normal file
17
Lab3/main.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
//main.cpp
|
||||
|
||||
#include "person.h"
|
||||
|
||||
|
||||
|
||||
void main() {
|
||||
|
||||
Person myPerson(Name("Kalle !"), 20);
|
||||
|
||||
Police myStation;
|
||||
|
||||
Bank myBank;
|
||||
|
||||
ATM myATM;
|
||||
|
||||
if(myPerson.getPassport(myStation)) //Person gets a passport
|
||||
Reference in New Issue
Block a user