Compare commits

..

4 Commits
dev1 ... master

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

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

Binary file not shown.
Loading…
Cancel
Save