summaryrefslogtreecommitdiff
path: root/3p41.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3p41.cpp')
-rw-r--r--3p41.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/3p41.cpp b/3p41.cpp
new file mode 100644
index 0000000..4ae2247
--- /dev/null
+++ b/3p41.cpp
@@ -0,0 +1,24 @@
+#include <iostream>
+#include <vector>
+#include "sales_data.hpp"
+#include "sales_item.hpp"
+#include <iterator>
+
+/*
+ *
+ * 3.41
+ *
+ * Same thing as i did on my vec-arr-test.cpp
+ */
+
+int main () {
+
+ int arr[] = {23,432423,43253,123,787,45677,3345,657784,3453};
+ std::vector<int> va(std::begin(arr), std::end(arr));
+ for(auto vaa : va) {
+ std::cout << vaa << " ";
+ }
+
+ std::cout << std::endl;
+ return 0;
+}