diff options
Diffstat (limited to 'hello/hello.cxx')
-rw-r--r-- | hello/hello.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hello/hello.cxx b/hello/hello.cxx index 65d0aa7..46d9f6e 100644 --- a/hello/hello.cxx +++ b/hello/hello.cxx @@ -2,7 +2,8 @@ #include <hello/hello> -#include <iostream> +#include <format/format> +#include <print/print> using namespace std; @@ -11,6 +12,6 @@ namespace hello void say (const string& n) { - cout << "Hello, " << n << '!' << endl; + print (format ("Hello", n)); } } |