add interface of cpp
add interface of cpp