DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ iterate over vector of pointers
for
(
vector
<
int
Type
>
::
iter
=
myVector
.
begin
(
)
;
iter
!=
myVector
.
end
(
)
;
iter
++
)
(
*
iter
)
->
display
(
)
;
PREVIOUS
NEXT
Tagged:
#iterate
#vector
#pointers
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit