就是首先,我写了一个生成一串随机字符串的代码,然后我想把生成的字符串储存100个在vector中,该怎么做!?
vecotr<string> vec; for(int i=0;i<100;i++) { string str=.... vec.push_back(str);