發表文章

目前顯示的是 3月, 2008的文章

[hw2]YuhianLexer

specification : identify : 由letter digit '_'(underscore)組成 key word : "globle" , "variables" , "prototypes" , "classes" , "classdef" , "class" ,"int" , "boolean", "string" , "true" , "false" , "unless" , "else" , "else" , "do" , "while", "print" , "return", "readInt" , "readString". Keywords and identifiers must be separated by white space or a token that is neither a keyword or an identifier. skip: " "(white space) ,"\t"(tab),"\n"(newline) operator : Binary : && , || , == , < , > , + , - , * , / , % . Unary operator : ! Other special characters: “{“, “}”, “(“, “)”, “[“, “]”, “;”, “,”, “.”, “=“ command : line comment // comment /**/ Unclosed comments are lexical errors String : "string"=>sequece of characters en

電腦網路project

[proposal下載請按我] [proposal.pdf ] 3/25 2:30PM~4:00PM開會 討論程式撰寫內容 [1] 工作分配與 時程 日期 須完成工作 李威儒 邱昱鈞 陳俊煒 4/6 GUI 圖片繪製 使用者登入介面 計算台數 即時通訊 Clint 端 4/13 Clinet 端架構完成 管理使用者 即時通訊 server 端 4/20 依照 server 傳輸處理 event 網路傳輸資料 自動提示功能 4/27 整合程式 5/4 測試程式 書面報告撰寫 每週 星期日晚間7:00 開會 如果沒辦法照時程趕出請於開會前兩天求救 [2]麻將標記與結構 struct Majang{ char symbol; //代碼 int num; //編號 } [代碼] 萬 筒 條 東 南 西 北 中 發 白 A B C D D D D E E E 1~9 1~9 1~9 1 2 3 4 1 2 3 春 夏 秋 冬 梅 蘭 菊 竹     K K K K L L L L     1 2 3 4 1 2 3 4     [好用資料] http://zh.wikipedia.org/wiki/%E9%BA%BB%E5%B0%86 http://zh.wikipedia.org/w/index.php?title=%E5%9B%BD%E6%A0%87%E9%BA%BB%E5%B0%86&variant=zh-tw