added a snippet for c++-mode