Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp loop through object

std::list<Student>::iterator it;
for (it = data.begin(); it != data.end(); ++it){
    std::cout << it->name;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cpp #loop #object
ADD COMMENT
Topic
Name
5+4 =