cin getline char array的相關文章
string - c++ char arrays, use in cin.getline() - Stack Overflow

string - c++ char arrays, use in cin.getline() - Stack Overflow

瀏覽:858
日期:2025-04-27
That's an unfortunate historical artifact, I believe. You can however, use the std:: getline free function instead. std::string myText; std::getline(std::cin ......看更多