[C++]在cin 後呼叫getline 所遇到的問題 ... 在C++ 中,使用cin 讀資料後,再用getline 讀字串,就會遇到buffer 沒有清空的問題。例如底下的程式碼: ...
確定! 回上一頁