Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ for

// REMEMBER TO REPLACE '???' 
//    with the data structure to iterate on

for(int i=0; i<???; ++i) {}
for(auto it=???.begin(); it!=???.end(); ++it) {}
for(auto &obj : ???) {}
Source by www.facebook.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+3 =