C++中標準輸入流cin與Ctrl+Z使用時的問題

今天使用C++編寫了一段小程序,練習使用標準庫的算法,代碼以下:html 1 #include <iostream> 2 #include <algorithm> 3 #include <vector> 4 #include <string> 5 6 using std::vector; 7 using std::cin; 8 using std::cout; 9 using
相關文章
相關標籤/搜索