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

正文內(nèi)容

計算機操作系統(tǒng)課程設(shè)計報告書-閱讀頁

2025-05-29 03:25本頁面
  

【正文】 44*50,0)。i=200。,4,1,myfile)==0)//讀取是否使用 { cout讀取數(shù)據(jù)空間失敗,虛擬磁盤格式錯誤,可能已被損壞endl。 return 1。 } } if (i==201) { cout數(shù)據(jù)空間已滿!創(chuàng)建文件失敗endl。 return 2。 cinf_name。 // 清除流的錯誤標記 (numeric_limitsstreamsize::max(),39。)。//文件指針跳到目錄區(qū) for (i=1。i++)//檢查文件名是否被使用 { if (fread(amp。 fclose(myfile)。 } if ( == 1)//如果讀取到未使用則跳出檢測 { if( isSame(f_name,) == 1) { fclose(myfile)。 } } } for (。 cinnum_char。 // 清除流的錯誤標記 (numeric_limitsstreamsize::max(),39。)。 } cout文件長度必須小于2550個字符。 } = num_char。//確定是否鎖定 cinf_islock。 // 清除流的錯誤標記 (numeric_limitsstreamsize::max(),39。)。y39。Y39。 } else { =1。//文件指針跳到數(shù)據(jù)區(qū) for ( i=0 。amp。 i++ , fseek(myfile,260,1) )//檢查數(shù)據(jù)空間是否足夠 { if (fread(amp。 fclose(myfile)。 } if (==0)//如果有空白區(qū)塊 { f_address[f_ad_num] = i*264+48*5+44*50。//先用后加 } } if (f_ad_num = (num_char/255))//空白的地址不足 { cout沒有足夠的磁盤空間,創(chuàng)建失??!endl。 return 3。 int k = 0。 if_ad_num 。 } else { = 0。//跳轉(zhuǎn)到空白數(shù)據(jù)塊 if ( num_char 255)//數(shù)據(jù)太多,一個區(qū)塊放不了 { if ( fwrite(amp。 myerr = 1。 k =255 。m,1,1,myfile) ==0) { cout數(shù)據(jù)模塊寫入 內(nèi)容 失敗endl。 } } if ( fwrite(amp。 myerr = 1。,4,1,myfile) == 0)//寫入下個數(shù)據(jù)塊地址 { cout數(shù)據(jù)模塊寫入next失敗endl。 } num_char=255。,4,1,myfile) == 0)//區(qū)塊置為已使用 { cout數(shù)據(jù)模塊寫入isuse失敗endl。 } for ( k =1 。 k++) { if ( fwrite(amp。 myerr = 1。 k= (256num_char)。e,1,1,myfile) == 0) { cout數(shù)據(jù)模塊寫入 結(jié)束符 失敗endl。 } } if ( fwrite(amp。 myerr = 1。 for ( i =0 。 i++) { [i] = f_name[i]。//計算出地址 = f_address[0]。//由于 if (lastaddress == 0)//被寫入的目錄是首目錄 { fseek(myfile,0)。ms_list,sizeof(ms_list),1,myfile) == 0 )//寫入目錄信息 { cout目錄寫入失?。ndl。 fclose(myfile)。 } fseek(myfile,myaddress+44,0)。,4,1,myfile) == 0)//將目錄地址寫入用戶區(qū)的目錄指針中 { cout目錄寫入失敗2!endl。 fclose(myfile)。 } listaddress = 。 } else { fseek(myfile,0)。ms_list,44,1,myfile) == 0 )//寫入目錄信息 { cout目錄寫入失敗!endl。 fclose(myfile)。 } fseek(myfile,lastaddress+40,0)。,4,1,myfile) == 0)//與上一條目錄鏈接 { cout目錄寫入失敗2!endl。 fclose(myfile)。 } lastaddress = 。 s_file ms_file。 long old_list_address =0。 myfile=fopen(,r+)。 return 1。 = listaddress 。 != 0 。 fseek(myfile, , 0)。ms_list,sizeof(ms_list),1,myfile) == 0) { cout循環(huán)讀取目錄失敗,無法讀?。ndl。 return 2。 break。 return 2。 return 4。//循環(huán)準備 for (。 ) { fseek(myfile, , 0)。,4,1,myfile) == 0)//先把數(shù)據(jù)塊改成未使用 { cout1endl。 return 4。 if ( fread(amp。 fclose(myfile)。 } } if( == old_list_address )//這個文件的目錄是首目錄 { fseek(myfile,myaddress+44,0)。,4,1,myfile) == 0) { cout3endl。 return 4。 if( fwrite(amp。反正數(shù)據(jù)結(jié)構(gòu)一樣 { cout6endl。 return 4。 } else { fseek(myfile,old_list_address+40,0)。,4,1,myfile) == 0) { cout5endl。 return 4。 if( fwrite(amp。反正數(shù)據(jù)結(jié)構(gòu)一樣 { cout6endl。 return 4。 return 1。 s_file ms_file。 char new_name[20] = {39。}。 myfile=fopen(,r+)。 return 1。 for (。 )//讀取文件的名字并比較 { fseek(myfile, , 0)。ms_list,sizeof(ms_list),1,myfile) == 0) { cout循環(huán)讀取目錄失敗,無法讀??!endl。 return 2。 cout輸入內(nèi)容:endl。 char s[100]。 for(x=0。x++) { if(s[x]==0) { break。 if( fwrite(amp。 return 4。 break。 return 2。}int MUser::mydir()//列出當前目錄的所有文件(夾){ int i=0。 if (listaddress == 0) { lastaddress = 0。 return 0。 } myfile=fopen(,r)。 return 1。//為進入循環(huán)做準備 fseek(myfile,48*5 , 0)。 != 0 。 fseek(myfile, , 0)。ms_list,sizeof(ms_list),1,myfile) == 0)//讀取目錄 { cout循環(huán)讀取目錄失敗,無法讀??!endl。 return 2。 [i] != 39。 amp。 i=19 。 } else { if( i= 15) { cout\t\t。 } } if( == 1)//是否鎖定 { cout\t N\t\tendl。 } } fclose(myfile)。}int MUser::viewFile(char filename[20])//查看文件{ s_list ms_list。 int isfind = 0 。 if (myfile == NULL) { cout讀取磁盤失?。ndl。 } = listaddress。 != 0 。 if ( fread(amp。 fclose(myfile)。 } if ( isSame(,filename) == 1) { isfind = 1。 } } if ( isfind == 0)//沒有找到文件 { fclose(myfile)。 } = 。 != 0 。 if ( fread(amp。 return 4。 } coutendl。 return 1。 i= 19 。 } if (filename_f[i] == 39。) { return 1。//相同}int MUser::myConversion(char filename[20])//轉(zhuǎn)換是否鎖定狀態(tài){ s_list ms_list。 myfile=fopen(,r+)。 return 1。 for (。 )//讀取文件的名字并比較 { fseek(myfile, , 0)。ms_list,sizeof(ms_list),1,myfile) == 0) { //cout循環(huán)讀取目錄失敗,無法讀?。ndl。 return 2。 break。 return 2。 } else { = 0。 if( fwrite(amp。 return 4。 return ??梢哉f此課程設(shè)計的理論難度并不大,但是若要深入發(fā)掘其中的東西,并且實際去編程實現(xiàn),就遇到了相當大的難度。另外感謝老師一學期以來的培養(yǎng)。贈語; 如果我們做與不做都會有人笑,如果做不好與做得好還會有人笑,那么我們索性就做得更好,來給人笑吧! 現(xiàn)在你不玩命的學,以后命玩你。不要做金錢、權(quán)利的奴隸;應(yīng)學會做“金錢、權(quán)利”的主人。最值得欣賞的風景,是自己奮斗的足跡。壓力不是有人比你努力,而是那些比你牛幾倍的人依然比你努
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1