C++ 打印 vector<string> 数组
#include
using namespace std;
int main() {
vector
for (string s : stringArray) {
cout << s << " ";
}
return 0;
}
输出结果:
hello world c++ vector string
原文地址: https://www.cveoy.top/t/topic/g18W 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
#include
using namespace std;
int main() {
vector
for (string s : stringArray) {
cout << s << " ";
}
return 0;
}
输出结果:
hello world c++ vector string
原文地址: https://www.cveoy.top/t/topic/g18W 著作权归作者所有。请勿转载和采集!