Remember that getline adds to the existing string. If you want to discard anything, you need to call newline.clear() before each call to ...
確定! 回上一頁