From d4f42ae77d2f9082d5f3e4b834297bcf574e2416 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Fri, 29 Jul 2022 14:19:36 +0200 Subject: [PATCH] add dev for stringdemo output --- c_os/user/demo/StringDemo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c_os/user/demo/StringDemo.cc b/c_os/user/demo/StringDemo.cc index dfe54b3..5b9889c 100644 --- a/c_os/user/demo/StringDemo.cc +++ b/c_os/user/demo/StringDemo.cc @@ -12,8 +12,8 @@ void StringDemo::run() { log.info() << "Reassign string" << endl; str1 = "Hello"; - kout << str1 << " has length " << str1.size() << endl; - kout << "Again with strlen: Hello has length " << bse::strlen("Hello") << endl; + kout << str1 << " has length " << dec << str1.size() << endl; + kout << "Again with strlen: Hello has length " << dec << bse::strlen("Hello") << endl; kout << "Adding strings: " << str1 << " + World" << endl; log.info() << "Adding strings" << endl;