C++基础:各种输入方法总结,cin、cin.get()、cin.getline()、getline()、gets()、getchar()
原文:https://www.cnblogs.com/hpl20155329/p/9029458.html