Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有个问题。这行代码一直抛出异常
originalWord = chosenWords[rand()%chosenWords.size()];
其中 originalWord 是一个字符串,并且 selectedWords 是一个字符串向量。
如果有人可以帮助我,我将不胜感激。
提前致谢。