summaryrefslogtreecommitdiffstats
path: root/src/hwrld.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hwrld.h')
-rw-r--r--src/hwrld.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/hwrld.h b/src/hwrld.h
new file mode 100644
index 0000000..b0f7336
--- /dev/null
+++ b/src/hwrld.h
@@ -0,0 +1,16 @@
+#include <iostream>
+#include <vector>
+
+
+std::string concat(std::string &a, std::string &b) {
+ return a + ' ' + b;
+}
+
+int sum_of_ints(std::vector<int> &v) {
+ int sum = 0;
+ for(auto elm : v) {
+ sum += elm;
+ }
+
+ return sum;
+}