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

正文內(nèi)容

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

  

【正文】 { if ( fwrite(amp。 myerr = 1。m,1,1,myfile) ==0) { cout數(shù)據(jù)模塊寫入 內(nèi)容 失敗endl。,4,1,myfile) == 0)//寫入下個(gè)文件鏈接地址,就是寫入0 { cout數(shù)據(jù)模塊寫入next失敗endl。//賦值首個(gè)文件塊地址 = 0。 if ( fwrite(amp。 if ( fwrite(amp。 myerr = 3。//用來(lái)記錄被刪除文件目錄的上一個(gè)文件地址 int isfind = 0 。 )//讀取文件的名字 { old_list_address = 。 } } if ( isfind == 0)//沒(méi)有找到指定的文件 { fclose(myfile)。 if ( fwrite(amp。 return 4。,4,1,myfile) == 0)//,但是賦值麻煩,直接用file的。 fclose(myfile)。 } } fclose(myfile)。 int isfind = 0 。 if ( fread(amp。 cins。 } fclose(myfile)。 cout此用戶沒(méi)有創(chuàng)建文件,目錄為空!endl。 for (。 } for( i=0 。 } else { cout\t。 myfile=fopen(,r)。ms_list,sizeof(ms_list),1,myfile) == 0)//讀取目錄 { cout循環(huán)讀取目錄失敗,無(wú)法讀?。ndl。//循環(huán)準(zhǔn)備 for (。 fclose(myfile)。 } } return 1。 != 0 。 } } if ( isfind == 0)//沒(méi)有找到指定的文件 { fclose(myfile)。 } fclose(myfile)。我不知道年少輕狂,我只知道勝者為王。學(xué)習(xí)資料。歡迎您的光臨,!希望您提出您寶貴的意見(jiàn),你的意見(jiàn)是我進(jìn)步的動(dòng)力。,4,1,myfile) == 0 )//將轉(zhuǎn)換完的屬性重新寫入磁盤 { fclose(myfile)。 } if ( isSame(,filename) == 1) { isfind = 1。 } = listaddress。\039。 } cout。 return 2。 ) { fseek(myfile, , 0)。 s_file ms_file。 i++) { //僅僅只為計(jì)數(shù),方便規(guī)范輸出 } if( i =7 )//規(guī)范輸出 { cout\t\t\t。 fclose(myfile)。 } = listaddress。 s_list ms_list。s,100,1,myfile) == 0 ) { fclose(myfile)。 fseek(myfile,+4,0)。 != 0 。\0 39。 fclose(myfile)。//上一個(gè)目錄的指向鏈接處 if( fwrite(amp。 } fseek(myfile,0)。,4,1,myfile) == 0)//讀取下一個(gè)數(shù)據(jù)塊地址 { cout2endl。 != 0 。 } if ( isSame(,filename) == 1) { isfind = 1。 for (。 = 0。 if ( fwrite(amp。 lastaddress = 。 return 3。 } = nowaddress*44 + 48*5。 myerr = 1。 k =num_char 。 } if ( fwrite(amp。 } for ( k =1 。//for循環(huán)變量 for (i=0 。 return 1。 } fseek(myfile,48*5+44*50,0)。\n39。 // 清空輸入流 if (num_char = 2550) { break。 return 4。 // 清空輸入流 fseek(myfile,48*5,0)。 fclose(myfile)。//文件指針跳到數(shù)據(jù)區(qū) for (i=1。,4,1,myfile)==0)//讀取是否使用 { cout讀取目錄空間失敗,虛擬磁盤格式錯(cuò)誤,可能已被損壞endl。//上一個(gè)目錄地址(用于出錯(cuò)回滾) myfile=fopen(,r+)。 //寫入的塊數(shù),是否在最終寫入時(shí)失?。ㄊ≈?) char f_name[20] = {39。 cout已注銷!endl。 } }//switch }}int MSysterm::logout()//用戶注銷{ char word[20] = {39。 } case 1: { cout磁盤打開(kāi)失?。ndl。 // 清除流的錯(cuò)誤標(biāo)記 (numeric_limitsstreamsize::max(),39。 } default: { // cout未知原因,修改失??!endl。 } case 1: { cout磁盤打開(kāi)失?。ndl。 cinm_name1。 } case 4: { cout文件鎖定!不能刪除!endl。)。 } } break。 } case 2: { cout目錄空間已滿!endl。 break。\n39。\n39。 cout endl。 } coutendl******************************************************************************endl。//密碼錯(cuò)誤 } } fseek(myfile,24,1)。m++)//對(duì)對(duì)象 myuser 賦值 { [m] = [m]。endl。m=19。k=2。\039。 fclose(myfile)。i++) { if (fread(amp。 cin。 if(fwrite(amp。 } } cout進(jìn)入存儲(chǔ)。 39。 ()。endl。 if ([m] == 39。,20,1,myfile)==0)//讀取用戶區(qū)的名字 { cout讀取用戶空間失敗,虛擬磁盤格式錯(cuò)誤,可能已被損壞endl。 for (i=1。 } for (。i=5。 } } fclose(myfile)。 fclose(myfile)。 i++) { if(fwrite(amp。 } s_user ms_user。}include include include iostreaminclude include limits//用于清除殘留的輸入流using namespace std。 return 5。i_1=3。 cout 1. 登錄endl 2. 注冊(cè)endl 3. 退出endl。endl。||nod1==39。 } cout創(chuàng)建完成!是否創(chuàng)建用戶? Y/N endl。||nod1==39。 /***********文件不存在的程序入口************/ if(()==1)//磁盤空間不存在 { cout虛擬磁盤文件不存在,是否生成? Y/N endl。 //列出當(dāng)前目錄的所有文件(夾) int viewFile(char filename[20])。 //用戶名 char psd[20]。 //檢查虛擬文件系統(tǒng)跟是否存在 int myformat()。struct s_file //文件結(jié)構(gòu)體{ long isuse。struct s_list //目錄結(jié)構(gòu)體{ long isuse。本文件系統(tǒng)采用兩級(jí)目錄,其中第一級(jí)對(duì)應(yīng)于用戶賬號(hào),第二級(jí)對(duì)應(yīng)于用戶帳號(hào)下的文件。二、系統(tǒng)分析設(shè)計(jì)思想本文件為二級(jí)文件系統(tǒng),即要實(shí)現(xiàn)對(duì)文件的增刪改查,同時(shí)又具備登陸系統(tǒng)、注冊(cè)用戶的功能,各個(gè)用戶之間的文件系統(tǒng)互不干擾。 //目錄地址}。 //下條目錄的地址}。 //打印登陸后的用戶名 int cheack()。 char name[20]。//修改文件 int mydir()。 MSysterm mysys。Y39。 return 2。Y39。 } } else { cout匿名用戶無(wú)法進(jìn)入系統(tǒng),正在退出。 cout請(qǐng)選擇:endl。 // 清空輸入流 if (n_select == 1) { for (int i_1=0。 cinnod1。 return 0。 if(myfile==NULL) { return 1。 i=5 。ms_list,sizeof(ms_list),1,myfile)!=1)//目錄區(qū)格式化 { cout目錄格式信息寫入失??!endl。 return 4。 for (i=1。 return 2。 // 清空輸入流 fseek(myfile,0,0)。 } else { if (fread(amp。 } else { issame = 1。)//輸入密碼 { cout請(qǐng)輸入密碼,最多19位。 cin。 cout兩次密碼不匹配39。 } } } if (issame == 1) { break。 fseek(myfile,48*nowaddress,0)。//比較標(biāo)記,循環(huán)使用的變量 cout請(qǐng)輸入用戶名:endl。i=5。,20,1,myfile)==0)//讀取名字 { cout讀取用戶空間失敗,虛擬磁盤格式錯(cuò)誤,可能已被損壞endl。 if ([m] == 39。 } for (int k=0。 // 清空輸入流 for (m =0 。 }
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1