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.
如何使用mod(%)运算符访问 C++ 中向量中的某个元素?以下行已被编译器识别为错误的。
mod(%)
std::rotate((MyVector.begin()+i)%32,MyVector.begin()+j,MyVector.end());