I know that I can use :
std::string s; std::getline(std::cin,s); to make white spaces readable in a string how about char arrays?
https://stackoverflow.com/questions/66512023/how-to-insert-white-spaces-as-input-into-char-array-with-stdcin March 07, 2021 at 08:15AM
没有评论:
发表评论