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