The ignore s have been placed before the getline s, and while this solves the getline skipping problem, it causes the problem the Asker has encountered.
確定! 回上一頁