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

正文內容

數(shù)據(jù)庫課程設計物聯(lián)網(編輯修改稿)

2024-07-12 01:21 本頁面
 

【文章內容簡介】 tring s)。 // 把輸入的一個字符串進行分析成每一個單詞 void show()。 // 輸出所有分析出來的單詞 vector string get_word()。 // 把分析出來的單詞返回 }。 void Anal_Word::show(){ for(int i = 0。 i (int)()。 i++) cout word[i] ... endl。 } vector string Anal_Word:: get_word(){ return word。 } int Anal_Word::Analysis(string s){ if(() == 0 || s[() 1] != 39。39。) return 0。 string _begin。 山東科技大學學生課程設計 int bracket = 0。 int mark = 0。 vector int wh。 for(int i = 0。 i (int)()。 i++){ // if(!isdigit(s[i]) amp。amp。 !isalpha(s[i]) amp。amp。 s[i] != 39。39。 amp。amp。 s[i] != 39。,39。 amp。amp。 s[i] != 39。(39。 amp。amp。 s[i] != 39。)39。 amp。amp。 s[i] != 39。 39。 amp。amp。 s[i] != 39。\t39。){ // return 0。 // } if(s[i] != 39。 39。 amp。amp。 s[i] != 39。,39。 amp。amp。 s[i] != 39。(39。 amp。amp。 s[i] != 39。)39。 amp。amp。 s[i] != 39。\t39。 amp。amp。 s[i] != 39。39。 amp。amp。 s[i] != 39。\n39。) _begin += s[i]。 if(s[i] == 39。(39。) { bracket ++。 } if(s[i] == 39。)39。){ bracket 。 } if(s[i] 0) return 0。 if((s[i] == 39。,39。 || s[i] == 39。)39。 || s[i] == 39。 39。 || s[i] == 39。(39。 || s[i] == 39。39。 || s[i] == 39。\t39。 || s[i] == 39。\n39。) amp。amp。 !mark amp。amp。 () 0 amp。amp。 s[0] != 39。\t39。){ (_begin)。 ()。 } if(s[i] == 39。,39。 amp。amp。 () 0 amp。amp。 s[0] !=39。\t39。) (())。 } 山東科技大學學生課程設計 if(bracket != 0) return 0。 if(() == 0) return 1。 for(int i = 0。 i (int)() 1。 i++){ if(wh[i+1] wh[i] 1) return 0。 } if((int)() 0 amp。amp。 wh[(int)()1] == (int)()) return 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。 /* CREATE TABLE STUDENT ( NAME CHAR(80) UNIQUE, AGE NUMERIC(30, 20), NUM INT PRIMARY KEY, COU INT UNIQUE )。 CREATE TABLE STUDENT ( AGE INT )。 */ string power[100] = {,SELECT, UPDATE, CREATE, INSERT, DELETE, UPDATE, ALTER}。 map string, int power_id。 class _enter{ public: _enter() {} void _begin()。 // 開始輸入 }。 山東科技大學學生課程設計 int op。 string user_name, user_pass。 _file file。 // 文件 User user。 int enter_interface(){ printf(++\n)。 printf(| |\n)。 printf(| Wele To My Sql |\n)。 printf(| |\n)。 printf(| |\n)。 printf(| Up |\n)。 printf(| |\n)。 printf(| |\n)。 printf(| |\n)。 printf(++\n\n\n)。 printf(Write 1 to 39。Login39。, Write 2 to 39。Set Up39。, Write 3 to 39。Leave39。\n\n)。 while(true){ 山東科技大學學生課程設計 printf( )。 scanf(%d, amp。op)。 if(op == 1){ int _count = 0。 while(true){ printf(UserName: )。 cin user_name。 printf(Paseword: )。 cin user_pass。 if((user_name, user_pass)){ if(!(user_name)) printf(Sucess! You shoud use the admin to add power!\n)。 else printf(Sucess! You can add the power to other user!\n)。 return 1。 } _count++。 if(_count = 3){ printf(Failed!\n You is not the user!\n)。 return 0。 } printf(Sorry, the account with this keycode was not found\n\n)。 } return 1。 }else if(op == 2){ 山東科技大學學生課程設計 int _count = 0。 while(true){ printf(UserName: )。 cin user_name。 printf(Paseword: )。 cin user_pass。 string two_pass。 printf(Confirm Paseword: )。 cin two_pass。 if(user_pass != two_pass) printf(Password is not equal.\n)。 else if((user_name)) printf(Account already exists\n)。 else{ printf(Success!\n)。 (user_name, user_pass)。 return 1。 } _count++。 if(_count = 3){ printf(Sorry, Set Up failed!\n)。 return 0。 } } return 1。 }else if(op == 3){ return 0。 山東科技大學學生課程設計 }else{ printf(Does not recognize the mand, try again\n)。 } } } void _enter::_begin(){ ()。 ()。 // ()。 power_id[SELECT] = 6。power_id[HELP] = 7。power_id[CREATE] = 1。 power_id[INSERT] = 2。power_id[DELETE] = 4。power_id[UPDATE] = 3。 power_id[ALTER] = 5。 int __ok = enter_interface()。 if(__ok == 0) return 。 printf(++\n)。 printf(| Notes |\n)。 printf(|
點擊復制文檔內容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1