diff options
Diffstat (limited to 'src/hwrld.cpp')
| -rw-r--r-- | src/hwrld.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/hwrld.cpp b/src/hwrld.cpp new file mode 100644 index 0000000..d486c74 --- /dev/null +++ b/src/hwrld.cpp @@ -0,0 +1,11 @@ +#include <iostream> +#include <string> +#include "hwrld.h" + + +int main() { + std::string a = "Hello,", b = "World!"; + std::cout << concat(a, b) << std::endl; + std::vector<int> is = {1, 2, 3, 4}; + std::cout << sum_of_ints(is) << std::endl; +} |
