Skip to content

Instantly share code, notes, and snippets.

@bayerj
Created July 7, 2009 09:20
Show Gist options
  • Save bayerj/141979 to your computer and use it in GitHub Desktop.
Save bayerj/141979 to your computer and use it in GitHub Desktop.
#include <vector>
int main(int argc, char **argv)
{
std::vector<const double*> blubber;
blubber.push_back(0);
blubber.push_back(0);
blubber.push_back(0);
blubber.push_back(0);
std::vector<const double*>::const_reverse_iterator output_iter;
for(output_iter = blubber.rbegin();
output_iter != blubber.rend();
output_iter++)
{
printf("Halleluja!\n");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment