c++ - cin and getline skipping input - Stack Overflow

c++ - cin and getline skipping input - Stack Overflow

瀏覽:921
日期:2025-04-28
earlier i posted a question about cin skipping input, and I got results to flush, and use istringstream, but now I tried every possible solution but none of them work. here is my code: void ... If you're using getline after cin >> something, you need to f...看更多