summaryrefslogtreecommitdiff
path: root/6p16.cpp
diff options
context:
space:
mode:
Diffstat (limited to '6p16.cpp')
-rw-r--r--6p16.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/6p16.cpp b/6p16.cpp
new file mode 100644
index 0000000..f522098
--- /dev/null
+++ b/6p16.cpp
@@ -0,0 +1,19 @@
+#include <iostream>
+
+/*
+ *
+ * 6.16
+ *
+ *
+ */
+
+bool is_empty(const std::string &a) {
+
+ return a.empty();
+}
+
+int main () {
+
+ std::cout << is_empty("Hello") << std::endl;
+ return 0;
+}