Add exercises

This commit is contained in:
Alex Hirsch
2020-10-06 12:34:06 +02:00
parent 3ef3f4957e
commit a0d503e8da
14 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#include <iostream>
int main()
{
std::cout << "Hello World" << std::endl;
}

View File

@@ -0,0 +1,11 @@
#include <iostream>
#include <boost/algorithm/string/replace.hpp>
int main()
{
std::string s = "foo bar";
boost::replace_all(s, "foo", "Hello");
boost::replace_all(s, "bar", "World");
std::cout << s << std::endl;
}