Add cpp source code