Add more way to find c++ file

Signed-off-by: coldnew <coldnew.tw@gmail.com>