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

21 lines
308 B
C++

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