添加MI
This commit is contained in:
parent
76810761bf
commit
f351b3f02e
14
base/reusing/worker0.cpp
Normal file
14
base/reusing/worker0.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
//
|
||||
// Created by zhuyijun on 2021/8/30.
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
#include "worker0.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
17
base/reusing/worker0.h
Normal file
17
base/reusing/worker0.h
Normal file
@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by zhuyijun on 2021/8/30.
|
||||
//
|
||||
|
||||
#ifndef BASE_WORKER0_H
|
||||
#define BASE_WORKER0_H
|
||||
#include <string>
|
||||
|
||||
class Worker {
|
||||
private:
|
||||
std::string fullname;
|
||||
long id;
|
||||
public:
|
||||
};
|
||||
|
||||
|
||||
#endif //BASE_WORKER0_H
|
Loading…
Reference in New Issue
Block a user