diff options
| author | thecharlesblake | 2017-10-04 11:53:16 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-13 18:46:14 +0100 |
| commit | 43591b71e8d69e2184cf1eafb8de05988b8dab53 (patch) | |
| tree | 37f411591e2ac6b48f3d6a7bb25035a6ff6f7750 /src/main/main.cpp | |
| parent | Add build instructions file (diff) | |
| download | metasol-43591b71e8d69e2184cf1eafb8de05988b8dab53.tar.gz metasol-43591b71e8d69e2184cf1eafb8de05988b8dab53.zip | |
Add conan.io to project & add Boost to Hello World
Diffstat (limited to 'src/main/main.cpp')
| -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 |
