⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ld_control.h

📁 设计模式:工厂模式、单例模式的基本实现
💻 H
字号:
#ifndef LD_CONTROL_H
#define LD_CONTROL_H

#ifndef HLD_FILE_H
#define HLD_FILE_H
#include "LD_File.h"
#endif
#ifndef FSTREAM
#define FSTREAM
#include <fstream>
#endif
#include <fstream>
#ifndef HLD_FILER_H
#define HLD_FILER_H
#include "LD_FileR.h"
#endif

class LD_Control
{
public:
	void LD_CTR_SaveExam(LD_File *_pEHeadFile,int _NumFile);
	void LD_CTR_SaveRegister(LD_FileR *_pRHeadFileR);
	LD_File* LD_CTR_ReadExam(int _NumFile,LD_File *&_NoncePosition);
	LD_FileR* LD_CTR_ReadRegister(void);
	char* intToChar(int _a);//把整形转换成字符型数组,并返回	
	void writeSign(fstream &dd,const char &_a,const int _b);//添加符号
	int signJudge(char _arr[]);//试题录入中的标识符判断
	int signJudgeRE(char _arr[],char **_arrA);//考生注册中的标识符判断
	char* memccpyMy(char* _cA,const char* _cB,char _cC,int _nD);
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -