C++ coop samples