summaryrefslogtreecommitdiff
path: root/3p12.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3p12.cpp')
-rw-r--r--3p12.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/3p12.cpp b/3p12.cpp
new file mode 100644
index 0000000..ef46169
--- /dev/null
+++ b/3p12.cpp
@@ -0,0 +1,27 @@
+#include <iostream>
+#include <vector>
+#include "sales_data.hpp"
+#include "sales_item.hpp"
+
+/*
+ *
+ * 3.12
+ *
+ *
+ */
+
+using std::string;
+using std::cout;
+using std::cin;
+using std::cerr;
+using std::clog;
+using std::endl;
+using std::vector;
+int main () {
+
+ vector<vector<int>> ivec; // A vector of vectors of int
+ //vector<string> svec = ivec; // Not valid, you can not initialize a vector of strings to with a vector of int.
+ vector<string> svec(10, "null"); // A vector of 10 objects of type string all initialized to "null"
+
+ return 0;
+}