討論串[問題] 判斷輸入exit就停止
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
一直輸入整數的程式長這樣:. int input;. while( cin >> input ). cout << input << endl;. 直到使用者輸入 exit 才結束, 那就用字串來暫存:. char input[ 12 ];. while( cin >> input && strcm
(還有1441個字)
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). VB2008. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question):. 要怎麼讓使用者可以一直輸入資料 直到輸入exit就停止. 餵入的資料(Inp
(還有139個字)
首頁
上一頁
1
下一頁
尾頁