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

正文內(nèi)容

畢業(yè)設(shè)計(jì)-c小型ftp服務(wù)器系統(tǒng)-資料下載頁

2024-12-02 21:38本頁面

【導(dǎo)讀】本程序是一個小型FTP服務(wù)器系統(tǒng),實(shí)現(xiàn)了FTP服務(wù)器所應(yīng)該具備的大多數(shù)功能,能夠解釋一般的FTP命令,并且符合RFC959規(guī)范。本軟件的設(shè)計(jì),即從需求分析,軟件設(shè)計(jì)到軟件功能實(shí)現(xiàn),都始終遵循軟件工程的思想和方法。本文中采用了大量的。圖表說明,使文章明確清晰,便與閱讀和理解。有了網(wǎng)絡(luò),使用者不但可以瀏覽各種各樣的信息資源,還能夠?qū)⒆约焊?。由于網(wǎng)絡(luò)的帶寬及各種服務(wù)的限制,單純從頁面上下載。顯得又慢又不可靠,所以就有許多FTP工具提供出來。從根本上說,F(xiàn)TP就是在網(wǎng)絡(luò)。中各種不同的計(jì)算機(jī)之間按照TCP/IP協(xié)議來傳輸文件。FTP采用的是現(xiàn)在流行的。通常服務(wù)器端是遠(yuǎn)程。端點(diǎn),用戶可以通過Inter網(wǎng)絡(luò)連接到遠(yuǎn)程的FTP服務(wù)器站點(diǎn)。只有當(dāng)FTP服務(wù)器支持各種協(xié)議和指令時,才能夠開發(fā)相應(yīng)的客戶端程序。下面我們就來介紹一下我自己開發(fā)一個小型FTP服務(wù)器的過程與思路。

  

【正文】 th(NULL, CSIDL_PROGRAMS, NULL, 0, lpszLink))。 if (bFound) { // Proceed to create the shortcut IShellLink *pIShellLink = NULL。 IPersistFile *ppf = NULL。 WCHAR pLinkUnicode[MAX_PATH]。 綏化學(xué)院 2021 屆本科生畢業(yè)論文 29 CoInitialize(NULL)。 // Get a pointer to the IShellLink interface. hr = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (void **)amp。pIShellLink)。 if (SUCCEEDED(hr)) { // Get a pointer to IPersistFile interface for saving shortcut hr = pIShellLinkQueryInterface(IID_IPersistFile, (void **)amp。ppf)。 if (SUCCEEDED(hr)) { hr = pIShellLinkSetPath(lpszShortcutFile)。 hr = pIShellLinkSetDescription(lpszDescription)。 if (SUCCEEDED(hr)) { // Add the target folder to the Start Menu Programs path lstrcat(lpszLink, \\)。 lstrcat(lpszLink, lpszRelativeFolder)。 lstrcat(lpszLink, \\)。 // Create the directory if it does not exist CreateDirectory(lpszLink,NULL)。 // Add the file name for the shortcut lstrcat(lpszLink, lpszDescription)。 lstrcat(lpszLink, .lnk)。 // Convert string to Unicode, and call IPersistFile::Save() MultiByteToWideChar(CP_ACP, 0, lpszLink, 1, pLinkUnicode, MAX_PATH)。 hr = ppfSave(pLinkUnicode, TRUE)。 } ppfRelease()。 } pIShellLinkRelease()。 } CoUninitialize()。 } return hr。 綏化學(xué)院 2021 屆本科生畢業(yè)論文 30 } void RemoveStartMenuShortcut(LPSTR lpszDescription, LPTSTR lpszRelativeFolder) { PFNSHGETFOLDERPATHA pSHGetFolderPath = NULL。 TCHAR lpszLink[MAX_PATH]。 BOOL bFound = FALSE。 pSHGetFolderPath = GetFuncPtr_SHGetFolderPathA()。 // Find the current user39。s Start Menu Programs folder if (pSHGetFolderPath) bFound = SUCCEEDED(pSHGetFolderPath(NULL, CSIDL_PROGRAMS, NULL, 0, lpszLink))。 if (bFound) { // Add the target folder to the Start Menu Programs path lstrcat(lpszLink, \\)。 lstrcat(lpszLink, lpszRelativeFolder)。 lstrcat(lpszLink, \\)。 // Add the file name for the shortcut lstrcat(lpszLink, lpszDescription)。 lstrcat(lpszLink, .lnk)。 DeleteFile(lpszLink)。 } } CString GetShortcutTarget(LPCTSTR lpszFilename) { CoInitialize(0)。 CString strResult。 HRESULT hResult。 IShellLink *psl。 char szPath[MAX_PATH]。 WIN32_FIND_DATA findData。 // Get a pointer to the IShellLink interface. hResult = CoCreateInstance (CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (void **)amp。psl)。 if (SUCCEEDED(hResult)) { IPersistFile *ppf。 // Get a pointer to the IPersistFile interface. hResult = pslQueryInterface (IID_IPersistFile, (void **)amp。ppf)。 綏化學(xué)院 2021 屆本科生畢業(yè)論文 31 if (SUCCEEDED(hResult)) { WORD wsz [MAX_PATH]。 // buffer for Unicode string // Ensure that the string consists of Unicode characters. MultiByteToWideChar (CP_ACP, 0, lpszFilename, 1, wsz, MAX_PATH)。 // Load the shortcut. hResult = ppfLoad (wsz, STGM_READ)。 if (SUCCEEDED (hResult)) { // Resolve the shortcut. hResult = pslResolve (0, SLR_ANY_MATCH|SLR_NO_UI)。 if (SUCCEEDED (hResult)) { lstrcpy (szPath, lpszFilename)。 // Get the path to the shortcut target. hResult = pslGetPath(szPath, MAX_PATH, (WIN32_FIND_DATA *)amp。findData, 0)。 strResult = szPath。 } } // Release the pointer to IPersistFile. ppfRelease ()。 } // Release the pointer to IShellLink. pslRelease ()。 } CoUninitialize()。 if (SUCCEEDED(hResult)) return strResult。 else return 。 } // Pump messages while waiting for event BOOL WaitWithMessageLoop(HANDLE hEvent, int nTimeout) { DWORD dwRet。 while (1) { // wait for event or message, if it39。s a message, process it and return to waiting state dwRet = MsgWaitForMultipleObjects(1, amp。hEvent, FALSE, nTimeout, QS_ALLINPUT)。 綏化學(xué)院 2021 屆本科生畢業(yè)論文 32 if (dwRet == WAIT_OBJECT_0) { TRACE0(WaitWithMessageLoop() event triggered.\n)。 return TRUE。 } else if (dwRet == WAIT_OBJECT_0 + 1) { // process window messages AfxGetApp()PumpMessage()。 } else if (dwRet == WAIT_TIMEOUT) { // timed out ! return FALSE。 } else { // WAIT_ABANDONED_0 ... return TRUE。 } } } void AutoSizeColumns(CListCtrl *pListCtrl) { // Call this after your the control is filled pListCtrlSetRedraw(FALSE)。 int mincol = 0。 int maxcol = pListCtrlGetHeaderCtrl()GetItemCount()1。 for (int col = mincol。 col = maxcol。 col++) { pListCtrlSetColumnWidth(col, LVSCW_AUTOSIZE)。 int wc1 = pListCtrlGetColumnWidth(col)。 pListCtrlSetColumnWidth(col, LVSCW_AUTOSIZE_USEHEADER)。 int wc2 = pListCtrlGetColumnWidth(col)。 // 10 is minumim column width int wc = max(10, max(wc1,wc2))。 pListCtrlSetColumnWidth(col,wc)。 } pListCtrlSetRedraw(TRUE)。 } 綏化學(xué)院 2021 屆本科生畢業(yè)論文 33 致 謝 四 年的大學(xué)生活轉(zhuǎn)眼就要結(jié)束了 , 在即將畢業(yè)之際,為了考驗(yàn)我們 四 年來所學(xué)知識的成果,以及加強(qiáng)我們分析解決計(jì)算機(jī)應(yīng)用實(shí)際問題的能力和培養(yǎng)我們調(diào)查研究、查閱技術(shù)文獻(xiàn)、資料、手冊以及編寫技術(shù)文獻(xiàn)的能力 , 學(xué)校安排我們這次畢業(yè)設(shè)計(jì)。通過這次畢業(yè)設(shè)計(jì),我們各方面都得到了很好的鍛煉。 本課題在選題及研究過程中得到 趙衛(wèi)績 老師的悉心指導(dǎo) ,趙 老師多次詢問研究進(jìn)程,并為我指點(diǎn)迷津,幫助我開拓研究思路,精心點(diǎn)撥、熱忱鼓勵。 趙 老師一絲不茍的作風(fēng),嚴(yán)謹(jǐn)求實(shí)的態(tài)度,踏踏實(shí)實(shí)的精神,不僅授我以文,而且教我做人,雖歷時 不長 ,卻給以終生受益無窮之道 。 感謝 趙 老師,這 篇 論文的每個實(shí)驗(yàn)細(xì)節(jié)和每個數(shù)據(jù),都離不開你的細(xì)心指導(dǎo)。 感謝我的室友們,從遙遠(yuǎn)的家來到這個陌生的城市里,是你們和我共同維系著彼此之間 姐妹 般的感情,維系著寢室那份家的融洽。四年了,仿佛就在昨天。四年里,我們沒有紅過臉,沒有吵過嘴,沒有發(fā)生上大學(xué)前所擔(dān) 心的任何不開心的事情。只是今后大家就難得再聚在一起吃每年元旦那頓飯了吧,沒關(guān)系,各奔前程,大家珍重。 感謝我的爸爸媽媽,焉得諼草,言樹之背,養(yǎng)育之恩,無以回報(bào),你們永遠(yuǎn)健康快樂是我最大的心愿。 在論文即將完成之際,我的心情無法平靜,從開始進(jìn)入課題到論文的順利完成,有多少可敬的師長、同學(xué)、朋友給了我無言的幫助,在這里請接受我誠摯的謝意! 最后,謹(jǐn)以此稚嫩的論文獻(xiàn)給所有關(guān)心和幫助過我的老師、親人、同學(xué)、和朋友們。我唯有在以后不斷地努力進(jìn)取,以學(xué)業(yè)和工作的繼續(xù)求索來感謝培育我的母校和所有關(guān)心我的師長親朋!希望我們 都幸??鞓?!
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1