Skip to content

Instantly share code, notes, and snippets.

@shaobos
Created March 12, 2014 22:07
Show Gist options
  • Save shaobos/9517491 to your computer and use it in GitHub Desktop.
Save shaobos/9517491 to your computer and use it in GitHub Desktop.
int main() {
vector<int> b;
b.push_back(-6);
b.push_back(-4);
int a = 3;
for(vector<int>::iterator iter = b.begin(); iter!= b.end(); iter++){
if (a < iter) {
cout<<"noooo"<<endl;
}
}
cout<<"aaa"<<endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment