![]() |
1
48
|
![]() |
2
3
如果按顺序遍历向量,请务必使用迭代器。无论索引类型如何,索引都会带来开销,这可以通过迭代来避免。 |
![]() |
3
1
1) uint=unsigned int,实际上uint只是一个 类型定义 对于unsigned int(编译时将被unsigned int替换)。 2) 如果您想在代码中添加uint附带的一些“安全性”,那么一定要避免负值。
|
![]() |
4
0
正如其他海报所指出的,uint可能是
|