Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to iterate from second element in map c++

it = map.begin();
++it;
for(; it != map.end(); ++it) {
    // do something
}

//shorter one:
it = ++map.begin(); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterate #element #map
ADD COMMENT
Topic
Name
9+9 =