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

📄 main.h

📁 考试管理系统
💻 H
字号:
#ifndef _MAIN_H
#define _MAIN_H

#include <windows.h>
#include <conio.h>
#include <string>
#include <iomanip>
#include <iostream>
#include <fstream>
#include <time.h>
#include <math.h>
using namespace std;

#define READEXAM "exam.ini"
#define READUSER "user.ini"
#define WRITEUSER "username.ini"

extern HANDLE hCon;
extern COORD CurPos;
extern int nSce;
extern int nTestNum;
extern bool bEnd;
extern bool bF5;
const int SIZE1 = 8;//输入答案最大长度+1
const int SIZE2 = 10;//10道题
const int SIZE3 = 60;//题干长度
const int SIZE4 = 7;//最大选项数
const int g_nCUserNameSize=16;
const int g_nCUserPassWordSize=7;

#include "Show.h"
#include "User.h"
#include "UserEntry.h"
#include "CTime.h"
#include "CPaper.h"
#include "CItem.h"
#include "CFile.h"
#include "CTeacher.h"
#include "StuOpt.h"

DWORD WINAPI StuExamThread(LPVOID lpParameter);
DWORD WINAPI SrandExamNUMThread(LPVOID lpParameter);
void Program();

#endif

⌨️ 快捷键说明

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