Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Created December 12, 2008 19:13
Show Gist options
  • Save JakubOboza/35231 to your computer and use it in GitHub Desktop.
Save JakubOboza/35231 to your computer and use it in GitHub Desktop.
#include <string>
#include <iostream>
#include <boost/foreach.hpp>
int main()
{
std::string hello( "Hello, world!" );
BOOST_FOREACH( char ch, hello )
{
std::cout << ch;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment