update some tips, add new cpp tips