add c++ snippet foreach
add flycheck