Files
OOP-Cpp/oop_hw4/hw123/police.h
2025-08-11 00:01:30 +08:00

22 lines
308 B
C++

#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();
};