Z
ZikO
Hi
Are iterators' behaviour the same as pointers? I mean I know i can go
through the container with the same manner as if i use pointers (ptr++)
and i can derefference iterators the same way.
But
Can I add an integer number to them and skip a few elements like I would
use pointers (ptr + 4 etc.) ?
Regards
Are iterators' behaviour the same as pointers? I mean I know i can go
through the container with the same manner as if i use pointers (ptr++)
and i can derefference iterators the same way.
But
Can I add an integer number to them and skip a few elements like I would
use pointers (ptr + 4 etc.) ?
Regards