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

正文內(nèi)容

數(shù)據(jù)庫課程設計-學生宿舍管理系統(tǒng)(專業(yè)版)

2025-05-19 23:10上一頁面

下一頁面
  

【正文】 這些都有待進一步提高。 SetWindowPos(g_hWndDeleteSome, NULL, 95, cyClient 35, 0, 0, SWP_NOSIZE)。 DrawTextA(hdc ,str, strlen(str), amp。)。 } default: return DefWindowProc(hWnd, message, wParam, lParam)。 DestroyWindow(g_hWndAddStu)。 delete szMultiByte。 break。 for(int i = 0。 } } else { if(!(szMultiByte)) { ()。 InsertMenu(hMenu, 0, MF_ENABLED, 10024, _T(詳細信息))。 } else { StringCchPrintfA(query, 300, SELECT num, name, dormitoryCat FROM student WHERE name = \%s\ AND num = \%s\, , )。 } else if(strcmp(, ) == 0 amp。 thiscabinet = (atof(row[4]) == 1? true: false)。thismy, query) != 0) { StringCchPrintfA(errMsg, 300, 添加宿舍物件信息錯誤: %s\n, mysql_error(amp。thismy)。}bool dbStruct::DeleteDormitory(char dormitoryCat[6]){ //由于外鍵約束,刪除此寢室時,相應的student和item表中的此寢室信息自動刪除. char query[300]。thismy)。}bool dbStruct::DeleteStudent(char num[9]){ char query[300]。//可以確保在數(shù)據(jù)庫工作正常的情況下,能夠查詢到惟一的一條數(shù)據(jù) MYSQL_RES * res。my)。 //改變一項 bool SetItemTable(char dormitoryCat[6])。 bool light。(3)宿舍設備實體:用于顯示宿舍設備的屬性,包括床、柜子、風扇、燈、電視機。以上的管理缺陷對學生宿舍管理造成了相當大的阻力,工作進展困難,問題解決的周期過長,資料整改工作量過大?!稊?shù)據(jù)庫原理》課程設計說明書學生宿舍管理系統(tǒng)學 院: 計算機與信息科學學院 專 業(yè): 網(wǎng)絡工程 班 級: 網(wǎng)絡1402 姓名學號: 吳琳琳 1420140231 姓名學號: 周岐浪 1420140217 指導教師: 高金華 職稱 講師 完成時間: 2016年12月 管理系統(tǒng)設計的背景、意義及目標l 設計背景l(fā) 設計意義l 設計目標系統(tǒng)開發(fā)環(huán)境系統(tǒng)需求分析l 基本功能需求l 功能模塊l 數(shù)據(jù)字典概念結(jié)構(gòu)設計l 概念設計l E_R模型設計邏輯結(jié)構(gòu)設計l 將E_R圖轉(zhuǎn)換為關系模型l 各表關系模型圖數(shù)據(jù)實施和維護l 功能實現(xiàn)代碼l 系統(tǒng)實現(xiàn)效果個人實現(xiàn)的功能總結(jié)管理系統(tǒng)設計的背景、意義及目標l 設計背景隨著IT事業(yè)的發(fā)展,如今,我們已經(jīng)全面跨入信息時代。為了改善學生宿舍管理情況,運用數(shù)據(jù)庫技術對學生信息進行處理和統(tǒng)一管理,在校園內(nèi)實現(xiàn)宿舍無紙化辦公。l E_R模型設計(1) 學生實體E_R圖 (2)宿舍實體E_R圖 (3)宿舍物品設備實體E_R圖 (4)各實體關系E_R圖邏輯結(jié)構(gòu)設計l 將ER圖轉(zhuǎn)換為關系模型:(1)Student:(num、name、dormitoryCat);(2)Room:(dormitoryCat、dormitory、room、studentNum、water、waterCharge、electricity、electricityCharge)。 bool fan。//主鍵為dormitoryCat, varchar(6) //獲得一項 bool GetItem(char dormitoryCat[6])。}bool dbStruct::Init(){ mysql_init(amp。 res = mysql_use_result(amp。 StringCchPrintfA(query, 300, DELETE FROM student WHERE num = \%s\, num)。 while((row = mysql_fetch_row(res)) != NULL) { StringCchPrintfA(thisStudentNum, 9, row[0])。 StringCchPrintfA(query, 300, DELETE FROM room WHERE dormitoryCat = \%s\, dormitoryCat)。 while((row = mysql_fetch_row(res)) != NULL) { StringCchPrintfA(thisdormitoryCat, 6, row[0])。thismy))。 thislight = (atof(row[5]) == 1? true: false)。amp。 } if(true != QueryInput(L, 3, query)) { ()。 ClientToScreen(hWnd, amp。 delete szMultiByte。 i itemCount。 } //刷新 ListView_DeleteAllItems(g_hWndList)。 return 0。 DestroyWindow(g_hWndAddRoom)。 } break。 while((row = mysql_fetch_row(res)) != NULL) { StringCchPrintfA(m, 6, %s, row[0])。rect, DT_TOP | DT_LEFT)。 SetWindowPos(g_hWndRefresh, NULL, cxClient 100, cyClient 35, 0, 0, SWP_NOSIZE)。但是,我通過邊學習邊請教,一步一步將整個系統(tǒng)逐步實現(xiàn)。由于現(xiàn)有知識水平的欠缺以及設計時間較短,第一次做數(shù)據(jù)庫設計,該系統(tǒng)還有許多不完善的地方,比如功能實現(xiàn)不夠完善、模塊構(gòu)想存在漏洞、SQL語句運用生疏等等多方面問題。 SetWindowPos(g_hWndDelete, NULL, 10, cyClient 35, 0, 0, SWP_NOSIZE)。 = 35。 res = mysql_use_result(amp。 break。 case IDM_EXIT: DestroyWindow(g_hWndQuery)。 if(iSize == 6) { if(!(szMultiByte)) { ()。 delete szMultiByte。 itemCount = ListView_GetItemCount(g_hWndList)。 while(ListView_DeleteColumn(g_hWndList, 1)) {} if(true != QueryInput(L, 9, SELECT ,dormitory, room, studentsNum,\ count(),water,electricity, waterCharge,\ electricityCharge FROM room LEFT JOIN student ON \ = GROUP BY )) { ()。 InsertMenu(hMenu, 0, MF_ENABLED, 10023, _T(刪除))。 strcmp(, ) != 0) { StringCchPrintfA(query, 300, SELECT num, name, dormitoryCat FROM student WHERE name = \%s\, )。 strcmp(,) == 0) { StringCchPrintfA(query, 300, SELECT ,dormitory, room, studentsNum, \ count(), water, electricity, waterCharge, \ electricityCharge FROM room LEFT JOIN student ON = \ WHERE dormitory = \%s\ GROUP BY , )。 thisbed = (atoi(row[3]) == 1? true: false)。 if(mysql_query(amp。 res = mysql_use_result(amp。 return TRUE。 res = mysql_use_result(amp。 } return TRUE。thismy, query)。}dbStruct::~dbStruct(){ mysql_close(amp。 //添加物品表一項 bool InsertItemTable()。 bool cabi
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1