Add header and license information to C++ source and header files.