Website Summary Files Commits Branches @commit @diff @stats
path: root / Week09 / Exercise05 / main.cpp
diff options
context:
space:
mode:
1 files changed, 12 insertions, 0 deletions
-rw-r--r--Week09/Exercise05/main.cpp12
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 <iostream>
+
+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;
+}