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

正文內容

數(shù)據庫課程設計物聯(lián)網-免費閱讀

2025-07-08 01:21 上一頁面

下一頁面
  

【正文】 } vector information _file::get_file_info(string name){ int _id = id[name]。 i++) schedule[where][row].vis[i] = 1。 } else if(schedule[where][k].vis[j] == 0){ cout null 。 for(int k = 0。 k++){ int ok = 0。 out property_inf[where][j]._unique 。 j (int)property_inf[where].size()。 out () endl。 j pro_num。 property_inf[i].push_back(property(s, data_type, is_key, _unique, len, NUMERIC))。 (name)。 j 99。 山東科技大學學生課程設計 //寫文件 }。 //插入某個表的信息 bool insert_list(string name, vector property pro)。 // 某個表的某個屬性是否顯示 public: 山東科技大學學生課程設計 void show_file(string name)。 int vis[100]。 // 屬性的數(shù)據類型 bool is_key。amp。 for(int i = 0。 } bool ok = select_table(word, file)。 } }else if(to_big(word[0])== ALTER amp。 if(!ok) printf(Improper Update\n)。 continue。 }else if(to_big(word[0]) == INSERT amp。 bool ok = (word)。 } for(int j = 0。 continue。 i (int)()。amp。 // ()。 string str。 printf(| operation is caseinsensitive |\n)。 printf(| Grand/Revoke |\n)。power_id[UPDATE] = 3。 } } } void _enter::_begin(){ ()。 (user_name, user_pass)。 printf(Paseword: )。 } _count++。 if(op == 1){ int _count = 0。, Write 2 to 39。 printf(| |\n)。 山東科技大學學生課程設計 int op。 return 1。 } 山東科技大學學生課程設計 if(bracket != 0) return 0。,39。amp。39。,39。 if(s[i] == 39。amp。amp。amp。 amp。 amp。 amp。 for(int i = 0。 } vector string Anal_Word:: get_word(){ return word。 class Anal_Word{ private: vector string word。 包括自己去答辯的時候,老師告訴了我正則表達式,這是一種很方便的判斷字符串的方法,相對于自己寫的字符串處理很多很多情況都沒法處理到,既麻煩,又不高效。上面的“ Change account;”是切換賬號,我們現(xiàn)在切換一下賬號到 admin,目的是為 acm 這個賬戶賦值。 ( 1)印象最深刻的時候 就是文件操作上的問題,在讀取到一個表的所有信息之后,再進行其他操作的時候,只可以識別名字,而其他的操作都不能使用了,調了好長時間,還以為 ifstream 這些數(shù)據流的問題呢,后來在讀完之后是正確的,然后在另一個文件里面是錯誤的,才找到真正錯在哪。判斷的時候,第一個單詞一定是 “INSERT” 這個沒問題,第三個一定是表名,去判斷一下這個表是否存在,然后找到 ”VALUES” ,對這后面的數(shù)據進行存儲。 //讀文件 bool write_to_file()。 //插入新的表名 bool insert_file_info(string name, vector information info)。 // 某個表的屬性 id int _vis[100][100]。 struct information{ string all[100]。 // 屬性名 string data_type。 //是否是 admin void create_new_user(string name, string pass); //創(chuàng)建新用戶 void read_user()。 //用戶名 map string, int user_id。 語句分析以及語義錯誤采用的是字符串處理的方式,每次把輸入的字符串就行分析,分解出這個字符串內包含的所有單詞,這些單詞中不包含 ‘,’ 、 ’。’ 、 ’(’、 ’)’。 //用戶的 id,從 1開始 int main_user[100]。 //從文件讀取所有用戶信息 bool add_pow(int where, int op)。 // 屬性的數(shù)據類型 bool is_key。 int vis[100]。 // 某個表的某個屬性是否顯示 public: void show_file(string name)。 //插入某個表的信息 bool insert_list(string name, vector property pro)。 //寫文件 }。 多條輸出舉例: Insert into student Values(‘19’, ‘HH’), (‘20’, ‘JJ’)。自己把表名的索引弄錯了。 ( 4)選擇 1 進行登錄 admin 山東科技大學學生課程設計 這樣就可以看得出, create 被授權,額可以創(chuàng)建表了。自身的代碼和內容的實現(xiàn)上仍然存在著相當多的問題,需要自己去慢慢改正,自己距離優(yōu)秀還差一大塊。 //單詞集合 public: int Analysis(string s)。 } int Anal_Word::Analysis(string s){ if(() == 0 || s[() 1] != 39。 i (int)()。amp。amp。amp。 s[i] != 39。 s[i] != 39。 s[i] != 39。(39。 || s[i] == 39。 || s[i] == 39。 () 0 amp。 amp。 if(() == 0) return 1。 } Enter_Into() //進入主界面 ifndef ENTER_INTO_H_INCLUDED define ENTER_INTO_H_INCLUDED include cstdio include iostream include vector include string include include include include include include include 山東科技大學學生課程設計 include include define Error printf( SQL statement error\n) using namespace std。 string user_name, user_pass。 printf(| Up |\n)。Set Up39。 while(true){ printf(UserName: )。 if(_count = 3){ printf(Failed!\n You is not the user!\n)。 cin user_pass。 return 1。 ()。 power_id[ALTER] = 5。 山東科技大學學生課程設計 printf(| 39。 printf(| 39。 char s。 if(!ok) { Error。 to_big(word[1]) == ACCOUNT){ enter_interface()。 i++){ if(to_big(word[i]) == TO){ oth_name = word[i+1]。 } vector string add。 j (int)()。 if(!ok) { 山東科技大學學生課程設計 Error。amp。 } string name = ()。 else{ (word[1])。amp。 if(!ok) printf(Select Failed\n)。 i (int)()。 to_big(word[2]) == AGAIN){ break。 // 是否為主鍵 bool _unique。 }。 //顯示表信息 int get_id(string name)。 //插入新的表 bool insert_file_id(string name, map string, int id)。 bool _file::read_file(){ ifstream in。 j++) _vis[i][j] = 1。 in pro_num。 _vis[i][j] = 1。 j++){ in [j]。 for(int i = 0。 j++){ if(_vis[where][j]) 山東科技大學學生課程設計 pro_num++。 out property_inf[where][j].() 。 for(int j = 0。 k (int)schedule[where].size()。 ok = 1。 return true。 return s
點擊復制文檔內容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1