freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

單項選擇題考試標(biāo)準(zhǔn)化系統(tǒng)-文庫吧資料

2025-06-13 17:39本頁面
  

【正文】 l。 } rec[i] = no。 while(vis[no] == 1) { no=rand()%number。) { no=rand()%number。 //標(biāo)記函數(shù),使數(shù)組的值都為0 for(int i=0。 int vis[500]。 ++number) p = pnext。 while( p != NULL amp。 p=head。 //從文件讀出數(shù)據(jù) cout請輸入抽取的數(shù)目:endl。}void get() //隨機抽取試題{ test *p,*head=load()。 } fclose(fp)。 tail=p2。 if(head==NULL) head=tail=p2。 /*強制轉(zhuǎn)換*/ while(fread(p1,sizeof(struct test),1,fp)) { p2=(struct test *)malloc(LEN)。 struct test *p1,*p2,*head=NULL,*tail。 } fclose(fp)。 while(flag!=0) { coutp1k. p1ask a.p1a b.p1b c.p1c d.p1dendl。 //從文件讀取數(shù)據(jù) struct test *p1=(struct test*)malloc(LEN)。 } fclose(fp)。 while(p1!=NULL) { fwrite(p1,sizeof(struct test),1,fp)。}void write() //錄入文件{ FILE *fp=fopen(,ab+)。 }void clear() //清空試題庫{ FILE *fp=fopen(,wb+)。 } p2next=NULL。 //給p1一個空的內(nèi)存 } coutplease input 1 or 0endl。 (*p2).next=NULL。 else p2next=p1。 //正確的答案 n++。 //選項d cout 請輸入正確的答案:endl。 //選項c cout 請輸入選項d:endl。 //選項b cout 請輸入選項c:endl。 //選項a cout 請輸入選項b:endl。 //題干 cout 請輸入選項a:endl。 //題號 cout 請輸入題目:endl。 /*強制轉(zhuǎn)換*/ while(a) { { cout請輸入題號:endl。int a=1。 n=0。char fuc[1000]。/*全局變量*/int number。int no。 /*全局變量:頭指針*/int n。}。 //正確答案 int k。 //選項c char d[100]。 //存選項a char b[100]。includeincludedefine LEN sizeof(struct test)struct test /*定義結(jié)構(gòu)體*/{ char ask[100]。}一些重要的方法:void write() //錄入文件void read() //從文件讀取數(shù)據(jù)void get() //隨機抽取試題void answer() //答題void mark() //評分 調(diào)試分析每次進(jìn)行抽取試題時就會出現(xiàn)錯誤,沒法運行,后來發(fā)現(xiàn)只有先錄入試題才能正常操作其他功能。break。
點擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1