main.h
来自「考试管理系统」· C头文件 代码 · 共 46 行
H
46 行
#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 + =
减小字号Ctrl + -
显示快捷键?