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

正文內(nèi)容

計算機(jī)操作系統(tǒng)課程設(shè)計報告書(留存版)

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

下一頁面
  

【正文】 ()。endl。 =0。i=199。 fclose(myfile)。,4,1,myfile)==0 )//找到被使用的用戶區(qū),下一步讀取名字 { cout讀取用戶空間失敗,虛擬磁盤格式錯誤,可能已被損壞endl。 } } } if (issame == 1) { cout用戶名重復(fù)!請重新輸入:endl。)。//空間使用置為 使用(1)。\n39。m=19。 ()。endl。}void MSysterm::mymain()//主控制程序{ int m_point=9,myget=0。 cout ,退出程序endl。 switch (myget) { case 1: { cout文件查看成功!endl。 break。 break。\n39。 }//case 4 修改文件 case 5: { if ( == 0) { cout您還沒有創(chuàng)建文件!endl。 break。}include iostreaminclude include iomanipinclude limits//用于清除殘留的輸入流include include using namespace std。 return 1。,4,1,myfile)==0)//讀取是否使用 { cout讀取數(shù)據(jù)空間失敗,虛擬磁盤格式錯誤,可能已被損壞endl。i++)//檢查文件名是否被使用 { if (fread(amp。 } = num_char。amp。 } else { = 0。 } num_char=255。 myerr = 1。,4,1,myfile) == 0)//將目錄地址寫入用戶區(qū)的目錄指針中 { cout目錄寫入失敗2!endl。 fclose(myfile)。 fseek(myfile, , 0)。,4,1,myfile) == 0)//先把數(shù)據(jù)塊改成未使用 { cout1endl。反正數(shù)據(jù)結(jié)構(gòu)一樣 { cout6endl。 return 1。ms_list,sizeof(ms_list),1,myfile) == 0) { cout循環(huán)讀取目錄失敗,無法讀??!endl。 break。 != 0 。 } } if( == 1)//是否鎖定 { cout\t N\t\tendl。 fclose(myfile)。 return 1。 )//讀取文件的名字并比較 { fseek(myfile, , 0)。 return 。壓力不是有人比你努力,而是那些比你牛幾倍的人依然比你努力。 if( fwrite(amp。 return 1。 return 4。 != 0 。 i=19 。 return 1。 if( fwrite(amp。 for (。反正數(shù)據(jù)結(jié)構(gòu)一樣 { cout6endl。 return 4。//循環(huán)準(zhǔn)備 for (。 = listaddress 。 } fseek(myfile,lastaddress+40,0)。 fclose(myfile)。e,1,1,myfile) == 0) { cout數(shù)據(jù)模塊寫入 結(jié)束符 失敗endl。 myerr = 1。 int k = 0。 } else { =1。)。)。 } fseek(myfile,48*5+44*50,0)。 long old_lastaddress = lastaddress 。 } fclose(myfile)。 break。 break。 } cout請輸入要修改的文件的名字:(僅限當(dāng)前目錄)endl。\n39。 break。 // 清除流的錯誤標(biāo)記 (numeric_limitsstreamsize::max(),39。 cout endl。 return 2。 } } } if (issame == 0) { cout密碼錯誤,請重新輸入。 } for (int k=0。,20,1,myfile)==0)//讀取名字 { cout讀取用戶空間失敗,虛擬磁盤格式錯誤,可能已被損壞endl。//比較標(biāo)記,循環(huán)使用的變量 cout請輸入用戶名:endl。 } } } if (issame == 1) { break。 cin。 } else { issame = 1。 // 清空輸入流 fseek(myfile,0,0)。 for (i=1。ms_list,sizeof(ms_list),1,myfile)!=1)//目錄區(qū)格式化 { cout目錄格式信息寫入失敗!endl。 if(myfile==NULL) { return 1。 cinnod1。 cout請選擇:endl。Y39。Y39。//修改文件 int mydir()。 //打印登陸后的用戶名 int cheack()。 //目錄地址}。本文件系統(tǒng)采用兩級目錄,其中第一級對應(yīng)于用戶賬號,第二級對應(yīng)于用戶帳號下的文件。struct s_file //文件結(jié)構(gòu)體{ long isuse。 //用戶名 char psd[20]。 /***********文件不存在的程序入口************/ if(()==1)//磁盤空間不存在 { cout虛擬磁盤文件不存在,是否生成? Y/N endl。 } cout創(chuàng)建完成!是否創(chuàng)建用戶? Y/N endl。endl。i_1=3。}include include include iostreaminclude include limits//用于清除殘留的輸入流using namespace std。 i++) { if(fwrite(amp。 } } fclose(myfile)。 } for (。,20,1,myfile)==0)//讀取用戶區(qū)的名字 { cout讀取用戶空間失敗,虛擬磁盤格式錯誤,可能已被損壞endl。endl。 39。 if(fwrite(amp。i++) { if (fread(amp。\039。m=19。m++)//對對象 myuser 賦值 { [m] = [m]。 } coutendl******************************************************************************endl。\n39。 break。 } } break。 } case 4: { cout文件鎖定!不能刪除!endl。 } case 1: { cout磁盤打開失?。ndl。 // 清除流的錯誤標(biāo)記 (numeric_limitsstreamsize::max(),39。 } }//switch }}int MSysterm::logout()//用戶注銷{ char word[20] = {39。 //寫入的塊數(shù),是否在最終寫入時失?。ㄊ≈?) char f_name[20] = {39。,4,1,myfile)==0)//讀取是否使用 { cout讀取目錄空間失敗,虛擬磁盤格式錯誤,可能已被損壞endl。 fclose(myfile)。 return 4。\n39。 return 1。 } for ( k =1 。 k =num_char 。 } = nowaddress*44 + 48*5。 lastaddress = 。 = 0。 } if ( isSame(,filename) == 1) { isfind = 1。,4,1,myfile) == 0)//讀取下一個數(shù)據(jù)塊地址 { cout2endl。//上一個目錄的指向鏈接處 if( fwrite(amp。\0 39。 fseek(myfile,+4,0)。 s_list ms_list。 fclose(myfile)。 s_file ms_file。 return 2。\039。 } if ( isSame(,filename) == 1) { isfind = 1。歡迎您的光臨,!希望您提出您寶貴的意見,你的意見是我進(jìn)步的動力。我不知道年少輕狂,我只知道勝者為王。 } } if ( isfind == 0)//沒有找到指定的文件 { fclose(myfile)。 } } return 1。//循環(huán)準(zhǔn)備 for (。 myfile=fopen(,r)。 } for( i=0 。 cout此用戶沒有創(chuàng)建文件,目錄為空!endl。 cins。 int isfind = 0 。 fclose(myfile)。 return 4。 } } if ( isfind == 0)//沒有找到指定的文件 { fclose(myfile)。//用來記錄被刪除文件目錄的上一個文件地址 int isfind = 0 。 if ( fwrite(amp。//賦值首個文件塊地址 = 0。m,1,1,myfile) ==0) { cout數(shù)據(jù)模塊寫入 內(nèi)容 失敗endl。 k++)//寫入數(shù)據(jù) { if ( fwrite(amp。//記錄下當(dāng)前空白區(qū)塊的絕對物理地址 f_ad_num++。 // 清空輸入流 if( f_islock == 39。) { cout文件由多少個字符 m 組成 ? (必須小于2550個字符)endl。 } cout請輸入文件名(字母和數(shù)字,最多19個字符):endl。 return 1。},m=39。}。)。 } case 2:
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1