添加C++支持

Signed-off-by: WseMad <mgtx460@163.com>