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

正文內(nèi)容

計(jì)算機(jī)操作系統(tǒng)課程設(shè)計(jì)報(bào)告書(更新版)

2025-06-22 03:25上一頁面

下一頁面
  

【正文】 (amp。 myerr = 1。e,1,1,myfile) == 0)//寫入結(jié)束符 { cout數(shù)據(jù)模塊寫入 結(jié)束符 失敗endl。,4,1,myfile) == 0)//寫入已被使用 { cout數(shù)據(jù)模塊寫入isuse失敗endl。 } = 1。,4,1,myfile)==0) { cout讀取數(shù)據(jù)空間失敗,虛擬磁盤格式錯(cuò)誤,可能已被損壞endl。) { = 0。 ()。\n39。 return 1。\n39。 } if (==0)//如果有空白的數(shù)據(jù)塊則跳出 { break。 return 2。i=50。,f_islock。 long nowaddress =0 ,f_address[10], num_char = 0 。 [i] = word[i]。 } } break。 } case 1: { cout文件已轉(zhuǎn)換為 自由讀寫!endl。 cinm_name1。 } case 5: { cout輸入內(nèi)容過多!無法修改!endl。 switch (myget) { case 1: { cout文件修改成功!endl。 break。 } case 2: { cout文件不存在!endl。 // 清除流的錯(cuò)誤標(biāo)記 (numeric_limitsstreamsize::max(),39。 } default: { //cout創(chuàng)建文件失敗,原因未知!endl。 } case 1: { cout磁盤打開失敗!endl。 break。 ()。 ()。 cout endl。) { if(m_point == 0) { myget=logout()。//返回登錄成功 } } fclose(myfile)。 } for (m=0。) { break。)。 return 1。 } else { issame = 1。 } else { if (fread(amp。 for (i = 1。 int issame = 0, m = 0 , i =0 。 myfile=fopen(,r+)。) { break。m++) { if ([m] != [m]) { issame = 0。 // 清空輸入流 cout請(qǐng)?jiān)俅屋斎朊艽a:endl。 } } if (i=6) { for (。 break。 } if (==0) { fseek(myfile,44,1)。)。 } } if (i==6) { cout用戶空間已滿!創(chuàng)建用戶失敗endl。 myfile=fopen(,r)。 fclose(myfile)。i++) { if(fwrite(amp。 for (i =1 。 myfile=fopen(,w)。 } } ()。endl。)。) { cout*********************endl。 return 3。 // 清空輸入流 if(nod1==39。 cinnod1。 // 清空輸入流 if(nod1==39。 int n_select = 2 , i_1 =0。//刪除文件 int revampFile(char filename[20])。include class MUser //封裝了管理文件的方法{ //成員變量public: FILE *myfile。 //成員函數(shù)public: MSysterm(){} void outName()。 //目標(biāo)文件的大小 long nextaddress。 //密碼 long address。要求做到以下幾點(diǎn): (1)可以實(shí)現(xiàn)下列幾條命令(至少4條); login 用戶登陸 dir 列文件目錄 create 創(chuàng)建文件 delete 刪除文件 open 打開文件 close 關(guān)閉文件 read 讀文件 write 寫文件 (2)列目錄時(shí)要列出文件名、物理地址、保護(hù)碼和文件長(zhǎng)度; (3)源文件可以進(jìn)行讀寫保護(hù)。另外,為了簡(jiǎn)便文件系統(tǒng)未考慮文件共享,文件系統(tǒng)安全以及管道文件與設(shè)備文件等特殊內(nèi)容。 //是否使用 char name[20]。 //是否使用 char content[256]。 //初始化虛擬磁盤 int createuser()。 //密碼 long listaddress。//查看文件 int myConversion(char filename[20])。 cinnod1。y39。 cinnod1。y39。 return 4。 cout*********************endl。i_1++)//登錄 { if (()==1) { cout登陸成功!歡迎您 。 } break。int MSysterm::cheack()//檢查虛擬空間是否存在{ myfile=fopen(,r)。 =0。ms_user,sizeof(ms_user),1,myfile)!=1)//用戶區(qū)格式化 { cout用戶格式信息寫入失??!endl。 return 3。 return 1。i++,fseek(myfile,44,1),nowaddress++)//檢查用戶空間是否足夠 { if (fread(amp。) { cout請(qǐng)輸入新用戶的用戶名:endl。i=5。 fclose(myfile)。\039。 cin。 // 清除流的錯(cuò)誤標(biāo)記 (numeric_limitsstreamsize::max(),39。 mendl。endl。ms_user,sizeof(ms_user),1,myfile) == 0) { cout寫入用戶信息失敗!endl。 ()。,4,1,myfile)==0)//讀取被使用的用戶區(qū) { cout讀取用戶空間失敗,虛擬磁盤格式錯(cuò)誤,可能已被損壞endl。 return 1。) { break。k++) { cout請(qǐng)輸入密碼:endl。m++) { if ([m] != [m]) { issame = 0。 } else { if (fread(amp。 [m] = [m]。 } fclose(myfile)。 cout當(dāng)前目錄下的文件:endl。 cout endl。)。)。 } default: { break。 break。 }//case 2 新建文件 case 3: { if ( == 0) { cout您還沒有創(chuàng)建文件!endl。 // 清空輸入流 myget = (m_name1)。 break。 ()。 break。 break。\n39。 break。039。 return 1。 39。 if (myfile == NULL) { cout讀取磁盤失?。ndl。 fclose(myfile)。i=200。 return 2。//文件指針跳到目錄區(qū) for (i=1。 } } } for (。 } cout文件長(zhǎng)度必須小于2550個(gè)字符。)。//文件指針跳到數(shù)據(jù)區(qū) for ( i=0 。 } if (==0)//如果有空白區(qū)塊 { f_address[f_ad_num] = i*264+48*5+44*50。 if_ad_num 。 k =255 。,4,1,myfile) == 0)//寫入下個(gè)數(shù)據(jù)塊地址 { cout數(shù)據(jù)模塊寫入next失敗endl。 k++) { if ( fwrite(amp。 } } if ( fwrite(amp。//計(jì)算出地址 = f_address[0]。 } fseek(myfile,myaddress+44,0)。 } else { fseek(myfile,0)。,4,1,myfile) == 0)//與上一條目錄鏈接 { cout目錄寫入失敗2!endl。 long old_list_address =0。 != 0 。 break。 ) { fseek(myfile, , 0)。 fclose(myfile)。 if( fwrite(amp。,4,1,myfile) == 0) { cout5endl。 return 4。}。 )//讀取文件的名字并比較 { fseek(myfile, , 0)。 char s[100]。 return 4。 if (listaddress == 0) { lastaddress = 0。//為進(jìn)入循環(huán)做準(zhǔn)備 fseek(myfile,48*5 , 0)。 return 2。 } else { if( i= 15) { cout\t\t。 int isfind = 0 。 if ( fread(amp。 } = 。 } coutendl。) { return 1。 for (。 break。 return 4。贈(zèng)語; 如果我們做與不做都會(huì)有人笑,如果做不好與做得好還會(huì)有人笑,那么我們索性就做得更好,來給人笑吧! 現(xiàn)在你不玩命的學(xué),以后命玩
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1