summaryrefslogtreecommitdiff
path: root/3p28.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-08-11 20:59:53 +0200
committerOskar <[email protected]>2024-08-11 20:59:53 +0200
commit06615448f1fd8378817e8ef72b5347ae3f0c3577 (patch)
treefc89a7edaee13953211d006a9c1a428dd279247c /3p28.cpp
parentb45c0d29ee690c8b436a33581d3b108e6064b5a7 (diff)
more
Diffstat (limited to '3p28.cpp')
-rw-r--r--3p28.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/3p28.cpp b/3p28.cpp
new file mode 100644
index 0000000..14f617a
--- /dev/null
+++ b/3p28.cpp
@@ -0,0 +1,30 @@
+#include <iostream>
+#include <vector>
+#include "sales_data.hpp"
+#include "sales_item.hpp"
+
+/*
+ *
+ * 3.28
+ *
+ *
+ */
+
+using std::string;
+using std::cout;
+using std::cin;
+using std::cerr;
+using std::clog;
+using std::endl;
+using std::vector;
+
+string sa[10]; // Default initialized strings
+int ia[10]; // ints with 0
+int main() {
+
+ string sa2[10]; // Default initialized strings
+ //int ia2[10]; // Unititialized, UB
+
+ cout << sa[0] << "|" << ia[0] << "|" << sa2[0] << endl;
+ return 0;
+}