quote:
Original post by Anonymous Poster
Indexing into the vector is slightly more expensive than indexing into an array, though, as the internal mechanism for indexing into the vector involves pointer arithmetic.
Indexing an array involves *exactly* the same pointer arithmetic as indexing a vector.
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]