OOP HomeWork
This commit is contained in:
21
oop_hw4/hw123/walker.h
Normal file
21
oop_hw4/hw123/walker.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include "thief.h"
|
||||
#include "police.h"
|
||||
|
||||
using std::string;
|
||||
using std::cout;
|
||||
using std::cin;
|
||||
|
||||
class walker {
|
||||
private:
|
||||
string name;
|
||||
double money;
|
||||
bool stolen;
|
||||
public:
|
||||
walker();
|
||||
walker(string n, double m, bool c);
|
||||
double money_print();
|
||||
walker& zero();
|
||||
void display();
|
||||
};
|
Reference in New Issue
Block a user