Compare commits

..

No commits in common. 'master' and 'dev1' have entirely different histories.
master ... dev1

@ -1,6 +0,0 @@
qwertyu q
q w e r
qwertyuio w
q w e r
asdfghjk a
a s d f

@ -3,16 +3,14 @@
#include <time.h> #include <time.h>
#include<conio.h> #include<conio.h>
#define MAX 50 #define MAX 50
typedef struct Test typedef struct Test{
{
char question[200]; char question[200];
char option1[100]; char option1[100];
char option2[100]; char option2[100];
char option3[100]; char option3[100];
char option4[100]; char option4[100];
char key; char key;
} }Test;
Test;
FILE *fp; FILE *fp;
void changeface()//选择试题类型界面 void changeface()//选择试题类型界面
{ {
@ -22,7 +20,7 @@ printf("\t\t| ѡ
printf("\t\t| |\n"); printf("\t\t| |\n");
printf("\t\t| 1.数据结构 |\n"); printf("\t\t| 1.数据结构 |\n");
printf("\t\t| |\n"); printf("\t\t| |\n");
printf("\t\t| 2.c/c++ |\n"); printf("\t\t| 2.c/c++ |\n");
printf("\t\t| |\n"); printf("\t\t| |\n");
printf("\t\t--------------------------------------\n"); printf("\t\t--------------------------------------\n");
} }
@ -87,7 +85,7 @@ void startinterface()//
{ {
printf("\n\n\n\n\n"); printf("\n\n\n\n\n");
printf("\t\t --------------------------------------\n"); printf("\t\t --------------------------------------\n");
printf("\t\t | 单项选择题标准化考试系统 |\n"); printf("\t\t | 单项选择题标准化考试系统 |\n");
printf("\t\t | |\n"); printf("\t\t | |\n");
printf("\t\t | 1.答题 |\n"); printf("\t\t | 1.答题 |\n");
printf("\t\t | |\n"); printf("\t\t | |\n");
@ -136,7 +134,7 @@ Test title[MAX];
int n,i,j,k,num[MAX],score,sum=0;char h; int n,i,j,k,num[MAX],score,sum=0;char h;
if(fp==NULL) if(fp==NULL)
{ {
printf("\n不能打开questionbank.dat文件,按任何键退出程序\n"); printf("\n不能打开questionbank.dat文件,按任何键退出程序!\n");
getch(); getch();
exit(-1); exit(-1);
} }
@ -182,7 +180,7 @@ int i,j,k;
Test title[MAX]; Test title[MAX];
if(fp==NULL) if(fp==NULL)
{ {
printf("\n不能打开questionbank.dat文件,按任何键退出程序\n"); printf("\n不能打开questionbank.dat文件,按任何键退出程序!\n");
getch(); getch();
exit(-1); exit(-1);
} }

Binary file not shown.
Loading…
Cancel
Save