blob: 0c9e38a51dc2888210cf7017274d17626b4c5102 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <string>
#include <iostream>
#include <boost/foreach.hpp>
int main()
{
std::string hello( "Hello, world!\n" );
BOOST_FOREACH( char ch, hello )
{
std::cout << ch;
}
return 0;
}
|