add c++ template
done 371C
done 372A