批踢踢實業坊
›
精華區
beta
Programming
關於我們
聯絡資訊
返回上層
發信人
mystify.bbs@bbs.nchu.edu.tw (放牧中 ~~),
看板
Programming
標 題
無窮回圈的問題 ?
發信站
中興天樞 (Wed Feb 8 15:00:32 2006)
轉信站
ptt!ctu-reader!ctu-peer!news.nctu!news.csie.ncyu!news.ncyu!news.ccu!re
請問各位大大: 如果我用 C 寫一個程式 , 裡面有一個 while (1) { .... .... } 如果我希望當使用者按下鍵盤的 q 時就離開這個無窮回圈,請問該怎麼寫這個功能呢 ? -- Ξ Origin: 中興大學天樞資訊網 <bbs.nchu.edu.tw> Ξ From : router.leadtek.com.tw