From f987a73f1ad3bcbadbd3f0b45a688358baf98329 Mon Sep 17 00:00:00 2001 From: "1146522303@qq.com" <1146522303@qq.com> Date: Wed, 9 Jan 2019 10:50:39 +0800 Subject: [PATCH] first commit --- 输入和插入试题函数.c | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 输入和插入试题函数.c diff --git a/输入和插入试题函数.c b/输入和插入试题函数.c new file mode 100644 index 0000000..6e9483c --- /dev/null +++ b/输入和插入试题函数.c @@ -0,0 +1,43 @@ +void InputTitle(int N) //N + { + int i; + for(i=0;iMAX) + return ERROR; + printf("ҪĿɺѡ\n"); + printf("Ŀ"); + gets(Testquestions[N].subject); + printf("ѡA"); + gets(Testquestions[N].option1); + printf("ѡB"); + gets(Testquestions[N].option2); + printf("ѡC"); + gets(Testquestions[N].option3); + printf("ѡD"); + gets(Testquestions[N].option4); + printf("𰸣"); + scanf("%c",&Testquestions[N].result); + getchar(); + return TRUE; + }