aboutsummaryrefslogtreecommitdiff
path: root/challenge-108/ulrich-rieke/cpp/ch-1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-108/ulrich-rieke/cpp/ch-1.cpp')
-rw-r--r--challenge-108/ulrich-rieke/cpp/ch-1.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/challenge-108/ulrich-rieke/cpp/ch-1.cpp b/challenge-108/ulrich-rieke/cpp/ch-1.cpp
new file mode 100644
index 0000000000..e8d0b8b2fe
--- /dev/null
+++ b/challenge-108/ulrich-rieke/cpp/ch-1.cpp
@@ -0,0 +1,10 @@
+#include <vector>
+#include <iostream>
+#include <string>
+
+int main( ) {
+ std::vector<std::string> cities { "Amsterdam" , "Berlin" , "Moscow" } ;
+ std::cout << "The vector cities is located at " << &cities << " !\n" ;
+ std::cout << "Its memory size is " << sizeof( cities ) << " !\n" ;
+ return 0 ;
+}