且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 C++ 中显示字符串向量

更新时间:2023-11-13 18:41:10

因为 userString 为空.你只声明它

Because userString is empty. You only declare it

vector<string> userString;     

但永远不要添加任何东西,所以 for 循环甚至不会运行.

but never add anything, so the for loop won't even run.