add some codes writen in cpp
add some codes writen in cpp