【c++】輸出文件的每個單詞、行

假設文件內容爲 1. hello1 hello2 hello3 hello4 2. dsfjdosi 3. skfskj ksdfls 輸出每個單詞 代碼 #include <iostream> #include <fstream> #include <sstream> #include <stdexcept> #include <string> using namespace std; i
相關文章
相關標籤/搜索