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; + }