日本高清色午夜com,色综合国产精品视频,午夜亚洲在在线观看,国产午夜在线网站

      <td id="p7kjh"></td>
      <td id="p7kjh"></td>

      首頁(yè) > 綜合問答 >

      學(xué)生綜合測(cè)評(píng)系統(tǒng)程序c語言(學(xué)生綜合測(cè)評(píng)系統(tǒng)c語言代碼)

      發(fā)布時(shí)間:2023-05-02 02:00:38來源:

      大家好,小訊來為大家解答以上的問題。學(xué)生綜合測(cè)評(píng)系統(tǒng)程序c語言,學(xué)生綜合測(cè)評(píng)系統(tǒng)c語言代碼這個(gè)很多人還不知道,現(xiàn)在讓我們一起來看看吧!

      1、#include #include typedef struct stu{ int id; char name[40]; int mark[4]; float total; } STU; int id; int m1,m2,m3,m4; char str[40]; void main() { int i,j,N=0; FILE *fin, *fout; STU tmp; STU *s; fin = fopen("score.txt","r"); while (1){ if ( fscanf(fin,"%*d %*s %*d %*d %*d %*d") ==EOF) break; N++; } fclose(fin); s = (STU *) malloc(N * sizeof(STU)); if (!s) { printf("no enough memory for STU"); exit(0); } fin = fopen("score.txt","r"); for (i=0;i s[i].total){ tmp = s[j]; s[j]=s[i];s[i]=tmp; }; }; }; fout = fopen("score_Q.txt","w"); for(i=0;i

      本文到此分享完畢,希望對(duì)大家有所幫助。

      免責(zé)聲明:本文為轉(zhuǎn)載,非本網(wǎng)原創(chuàng)內(nèi)容,不代表本網(wǎng)觀點(diǎn)。其原創(chuàng)性以及文中陳述文字和內(nèi)容未經(jīng)本站證實(shí),對(duì)本文以及其中全部或者部分內(nèi)容、文字的真實(shí)性、完整性、及時(shí)性本站不作任何保證或承諾,請(qǐng)讀者僅作參考,并請(qǐng)自行核實(shí)相關(guān)內(nèi)容。