C++ tasks