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

正文內(nèi)容

os課程設(shè)計(jì)實(shí)驗(yàn)報(bào)告-資料下載頁

2025-05-13 22:09本頁面
  

【正文】 __________________________________________________________________________。}//exitvoid exitFunction(){/* char x。 cout您確定要退出嗎?(Y/N)。 cinx。 if (39。Y39。 == x || 39。y39。 == x) exit(0)。*/ exit(0)。}//print pathvoid printPath(){ char buffer[50]。 GetCurrentDirectory(50,buffer)。 //獲取當(dāng)前路徑并輸出 coutbuffer。}//cd命令查詢當(dāng)前目錄:get pathvoid getPath(){ char buffer1[50]。 GetCurrentDirectory(50,buffer1)。 coutbuffer1。}//============================================================================int main(){ //coutPRINTHEADHELP。 coutMicrosoft Windows [版本 ]\n。 cout版本所有 c 2009 Microsoft Corporation。保留所有權(quán)利。\nendl。 HANDLE hFile。 //創(chuàng)建文件句柄 hFile = ::CreateFile(,GENERIC_READ,FILE_SHARE_READ,NULL, OPEN_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL)。 //創(chuàng)建文件,設(shè)定名稱為 printPath()。 string *str = new string[10]。 //聲明字符串?dāng)?shù)組,用于接受用戶輸入的字符形式的命令 char ch。 int count = 0。 //記錄輸入字符形式命令的個(gè)數(shù) int disc。 while (1) { int strcount = 0。 disc = 0。 for (int i = 0。 i 10。 i++) str[i] = 。 ch = getchar()。 //讀入命令字符,進(jìn)行分析 while (ch != 39。\n39。) { disc = 1。 if (ch != 39。 39。) { while ((ch != 39。\n39。) amp。amp。 (ch != 39。 39。)) { str[strcount] = str[strcount] + ch。 ch = getchar()。 } strcount++。 if (ch == 39。\n39。) goto DISC。 } ch = getchar()。 } if (disc == 0) //什么也不輸入,則繼續(xù)返回當(dāng)前路徑 { printPath()。 }DISC: if (str[0] == lshelp) { lshelpFunction()。 printPath()。 } else if (str[0] == ls) lsFunction(str,strcount)。 else if (str[0] == cathelp) { cathelpFunction()。 printPath()。 } else if (str[0] == cat) catFunction(str,strcount)。 else if (str[0] == cphelp) { cphelpFunction()。 printPath()。 } else if (str[0] == cp) //cp CopyFile() cpFunction(str,strcount)。 else if (str[0] == mvhelp) { mvhelpFunction()。 printPath()。 } else if (str[0] == mv) //mv MoveFile() mvFunction(str,strcount)。 else if (str[0] == mdhelp) { mdhelpFunction()。 printPath()。 } else if (str[0] == md) //md CreateDirectory() mdFunction(str,strcount)。 else if (str[0] == rdhelp) { rdhelpFunction()。 printPath()。 } else if (str[0] == rd ||str[0] == rmdir) //rmdir RemoveDirectory() rdFunction(str,strcount)。 else if (str[0] == cdhelp) { cdhelpFunction()。 printPath()。 } else if (str[0] == cd) //cd GetCurrentDirectory()。SetCurrentDirectory() cdFunction(str,strcount)。 else if (str[0] == sorthelp) { sorthelpFunction()。 printPath()。 } else if (str[0] == sort) sortFunction(str,strcount)。 else if (str[0] == morehelp) { morehelpFunction()。 printPath()。 } else if (str[0] == more) moreFunction(str,strcount)。 else if (str[0] == printhelp) { printhelpFunction()。 printPath()。 } else if (str[0] == print) printFunction(str,strcount)。 else if (str[0] == help || str[0] == help) { helpFunction()。 printPath()。 } else if (str[0] == exit) exitFunction()。 else if (str[0] == ) cout。 else { cout39。 for (int j = 0。 j strcount。 j++) { coutstr[j] 。 } cout39。不是內(nèi)部或外部命令,也不是可運(yùn)行的程序endl。 cout或批處理文件。\nendl。 printPath()。 } } return 0。}第7章 總結(jié)通過Linux課程的學(xué)習(xí),我的收獲很大。在Linux操作系統(tǒng)實(shí)驗(yàn)課上不僅鍛煉了我們的動(dòng)手實(shí)踐能力,同時(shí)也鍛煉了我們的自控能力。而這些基本能力在我們以后進(jìn)入到社會(huì)中以后是特別有用的,也是非常重要的。操作系統(tǒng)的基本特征是并發(fā)與共享。系統(tǒng)允許多個(gè)進(jìn)程并發(fā)執(zhí)行,并且共享系統(tǒng)的軟、硬件資源。為了最大限度的利用計(jì)算機(jī)系統(tǒng)的資源,除了更深的了解這個(gè)算法,而且對(duì)C語言進(jìn)行了復(fù)習(xí),而且其過程中有很多的知識(shí)點(diǎn)都不記得了,所以在此感謝在此過程中幫助過我的老師和同學(xué)。最后的感悟就是:只要你親自動(dòng)手,你就能學(xué)到知識(shí)。 第八章 參考文獻(xiàn)計(jì)算機(jī)操作系統(tǒng)(第三版) 湯小丹、湯子瀛等編著 西安電子科技大學(xué)出版 C++程序設(shè)計(jì) 譚浩強(qiáng) 清華大學(xué)出版社C程序設(shè)計(jì)(第二版)
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1