aboutsummaryrefslogtreecommitdiff
path: root/src/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r--src/main/main.cpp13
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