“how to input line in c++” Code Answer's ; 1. string line; ; 2. ; 3. while (getline(cin, line)) { ; 4. // do something with the line ; 5. }.
確定! 回上一頁