摘要:
#pragma once #include <iostream> using namespace std; #include <worker.h> #define FILENAME "worker.txt" class workmanager { public: workmanager(); voi 阅读全文
posted @ 2024-06-24 10:36
愿此刻~永恒
阅读(30)
评论(0)
推荐(0)
摘要:
#include <workmanager.h> #include <worker.h> #include <fstream> workmanager::workmanager() { ifstream ifs; ifs.open(FILENAME , ios::in); if ( !ifs.is_ 阅读全文
posted @ 2024-06-24 10:34
愿此刻~永恒
阅读(23)
评论(0)
推荐(0)
摘要:
#pragma once #include <iostream> using namespace std; #include <string> class worker { public: virtual void m_show() = 0; virtual string m_post() = 0; 阅读全文
posted @ 2024-06-24 10:30
愿此刻~永恒
阅读(17)
评论(0)
推荐(0)
摘要:
#include <worker.h> employee::employee(int id,string name,int post) { this->m_id = id; this->m_name = name; this->m_job = post; } void employee::m_sho 阅读全文
posted @ 2024-06-24 10:28
愿此刻~永恒
阅读(29)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <fstream> #include <workmanager.h> #include <worker.h> using namespace std; int main() { workmanager w; int chose = 0; wh 阅读全文
posted @ 2024-06-24 10:27
愿此刻~永恒
阅读(38)
评论(0)
推荐(0)

浙公网安备 33010602011771号