[C++] 讀取一整行(包含空白字元)的方法getline() string類別 ... getline(cin,name); //使用cin並無法儲存有空白的字串,所以要使用getline,將一行 ...
確定! 回上一頁