getline 函数如下所示:. getline(cin, inputLine);. 其中cin 是正在读取的输入流,而inputLine 是接收输入字符串的string 变量的名称。
確定! 回上一頁