#include#include #include #include //find #include using namespace std; struct stdent{ string name; int age; bool operator==(const int &age){ return (this->age==age); }; }; int main() { vector stu; stdent tmp; for(int i=0;i<5;i++){ tmp.age=i; if(i==3) { tmp.name="aaaaa"; } else { tmp.name="bbbbb"; } stu.push_back(tmp); memset(&tmp,0,sizeof(tmp)); } vector ::iterator it=find(stu.begin(),stu.end(),3); cout< name< ::iterator iter=stu.begin();iter!=stu.end();++iter){ cout< age<<" "< name<



