看板 b93902HW 關於我們 聯絡資訊
: 今天會把c--的程式放到網頁上 新增 c-- and lib.o testcase1 以上都在 http://www.csie.ntu.edu.tw/~comp07 ./c-- xxx.s 會check xxx.s的每一行是否符合c--語法 c-- 語法在 Slide Part A可以找到, 或者從c--.tgz的parser.y scanner.l得知 (若覺得c-- report error有問題, 歡迎回報) 若都符合語法, 它會 g++ -c xxx.s -o tmp.o ; g++ tmp.o lib.o -o p.out ; p.out就是執行檔了 如果-o option存在, 請alias p.out 程式正確性: ./p.out < in > out ; 確認 out 和 sol 一樣 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.217.61