manager.h
来自「学习用」· C头文件 代码 · 共 39 行
H
39 行
// Manager.h: interface for the Manager class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MANAGER_H__74C31005_A4BA_4294_800E_922609DDB087__INCLUDED_)
#define AFX_MANAGER_H__74C31005_A4BA_4294_800E_922609DDB087__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include<iostream>
using namespace std;
#include<string>
class Manager
{
public:
Manager();
virtual ~Manager();
string get_name();
void set_name(string s);
int get_password();
void set_password(int i);
int get_workdays();
void set_workdays(int i);
int get_pay();
void set_pay(int i);
string name;
int password;
int workdays; //工龄
int pay; //工薪
};
#endif // !defined(AFX_MANAGER_H__74C31005_A4BA_4294_800E_922609DDB087__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?