diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/main.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index f253cbe..0c9e38a 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -1,6 +1,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; + } -int main() { - std::cout << "Hello, World!" << std::endl; return 0; }
\ No newline at end of file |
