test.hpp
#include <map>
#include <queue>
#include <string>
#include <vector>
#include "test.hpp"
using namespace std;
oneclazz::oneclazz(int input){
// 做些初始化相关的事
}
bool oneclazz::isProcessOk(){
// 做些事情
return true;
}
void oneclazz::doProcess(){
// 做些事情2
return ;
}
test.cpp
#ifndef _TEST
#define _TEST
#include <map>
#include <string>
#include <vector>
using namespace std;
class oneclazz
{
private:
bool isProcessOk();
int numb;
public:
oneclazz(){};
oneclazz(int input);
void doProcess(int param);
protected:
int numa;
};
#endif