2019年3月21日
摘要: 首先,我们知道在C++中,空格或者回车被认为是字符串的分割标志,使用cin输入string类的字符串时遇到会自动停止接收输入 例如,当如下程序时: 1 #include <bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 string 阅读全文
posted @ 2019-03-21 10:10 含光Aries 阅读(5396) 评论(0) 推荐(0) 编辑