president.h
来自「在本实例中,实现了单体模式,工厂模式,门面模式以及STL编程」· C头文件 代码 · 共 31 行
H
31 行
#pragma once
#ifndef PRESIDENT_H
#define PRESIDENT_H 0
#include "clg_pre.h"
#include "student.h"
#include"com_clg_pre.h"
#include"for_clg_pre.h"
#include"chi_clg_pre.h"
#include<vector>
#include"string"
#include"iostream"
using namespace std;
class president
{
public:
vector<CString> testID;
vector<CString>::iterator itr;
CButton *btn;
com_clg_pre *computer;
for_clg_pre *foreign;
chi_clg_pre *chinese;
static president * pre;
president();
void tongzhi(CButton cb[],const vector<CString> &id);
static president* create();
};
// president *president::pre=NULL;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?