From b38346eebca9a007971af02fb3bb9472c5e16d0c Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 26 Apr 2026 21:43:31 +0300 Subject: feat(Week09): Add solutions --- Week09/Exercise05/main.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Week09/Exercise05/main.cpp (limited to 'Week09/Exercise05/main.cpp') diff --git a/Week09/Exercise05/main.cpp b/Week09/Exercise05/main.cpp new file mode 100644 index 0000000..8bf6a6c --- /dev/null +++ b/Week09/Exercise05/main.cpp @@ -0,0 +1,12 @@ +#include "StringArray.h" +#include + +int main() { + StringArray s; + + // Защо за числата трябва да конвертираме всички, а при | конвертираме само първия? + s[ Z(7) +++ Z(4) +++ Z(3) ] ("") (StringArray("Hello")|"World") [ Z(4) +++ Z(5) +++ Z(1) ] ("!") [ Z(2) ] (StringArray("Code")|"A"|"B"); + + std::cout << s; + return 0; +} -- cgit v1.3.1-23-gd82d