Added script to compile cpp filter.
cpp : Improve param bool and adding param double. Some clean code.