0

如何使用mod(%)运算符访问 C++ 中向量中的某个元素?以下行已被编译器识别为错误的。

std::rotate((MyVector.begin()+i)%32,MyVector.begin()+j,MyVector.end());
4

0 回答 0