技术标签: C++. 1. cin string s; while(cin >> s){} //可以一直执行. 1; 2; 3. 2. scanf 定义:. string s; s.resize(); //设置长度. 1; 2. 输入 scanf("%s",&s[0]);.
確定! 回上一頁